Skip to content

Commit 89f285c

Browse files
committed
WL#6815 Adapt MySQL Cluster to 5.7
- update .result file for ndb_rpl_circular_2ch_rep_status.result with new deprecation warnings which occurs when selecting from INFORMATION_SCHEMA.GLOBAL_STATUS
1 parent 4ec56f1 commit 89f285c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

mysql-test/suite/ndb_rpl/r/ndb_rpl_circular_2ch_rep_status.result

+16
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ select variable_name, variable_value from information_schema.global_status
2020
where variable_name='Ndb_slave_max_replicated_epoch';
2121
variable_name variable_value
2222
NDB_SLAVE_MAX_REPLICATED_EPOCH 0
23+
Warnings:
24+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
2325
Master1(3)
2426
select variable_name, variable_value from information_schema.global_status
2527
where variable_name='Ndb_slave_max_replicated_epoch';
2628
variable_name variable_value
2729
NDB_SLAVE_MAX_REPLICATED_EPOCH 0
30+
Warnings:
31+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
2832
Make a change originating at Cluster A
2933
Master(1)
3034
use test;
@@ -47,6 +51,8 @@ select variable_name, variable_value from information_schema.global_status
4751
where variable_name='Ndb_slave_max_replicated_epoch';
4852
variable_name variable_value
4953
NDB_SLAVE_MAX_REPLICATED_EPOCH 0
54+
Warnings:
55+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
5056
Slave server on Cluster A has current value for Max Replicated Epoch
5157
Master1 (3)
5258
Expect count 1
@@ -63,6 +69,8 @@ variable_name='Ndb_slave_max_replicated_epoch'
6369
variable_value = epoch;
6470
count(1)
6571
1
72+
Warnings:
73+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
6674
Now wait for all replication to quiesce
6775
Now swap replication channels around
6876
include/rpl_stop_slaves.inc
@@ -93,6 +101,8 @@ select variable_name, variable_value from information_schema.global_status
93101
where variable_name='Ndb_slave_max_replicated_epoch';
94102
variable_name variable_value
95103
NDB_SLAVE_MAX_REPLICATED_EPOCH 0
104+
Warnings:
105+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
96106
Master1 (3)
97107
Cluster A Master server (old slave) has old Max replicated epoch
98108
select
@@ -108,6 +118,8 @@ variable_name='Ndb_slave_max_replicated_epoch'
108118
variable_value = epoch;
109119
count(1)
110120
1
121+
Warnings:
122+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
111123
Now start slaves up
112124
include/rpl_start_slaves.inc
113125
Show that applying something from Cluster B causes the
@@ -137,6 +149,8 @@ variable_name='Ndb_slave_max_replicated_epoch'
137149
variable_value = epoch;
138150
@result:=count(1)
139151
1
152+
Warnings:
153+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
140154
Now make a new Cluster A change and see that the Max Replicated Epoch advances
141155
once it has propagated
142156
Master1 (3)
@@ -168,6 +182,8 @@ variable_name='Ndb_slave_max_replicated_epoch'
168182
variable_value = epoch;
169183
count(1)
170184
1
185+
Warnings:
186+
Warning 1287 'INFORMATION_SCHEMA.GLOBAL_STATUS' is deprecated and will be removed in a future release. Please use performance_schema.global_status instead
171187
local_server_with_max_epoch
172188
3
173189
Done

0 commit comments

Comments
 (0)