Debian Codegraph @

mysql-test/suite/sys_vars/r/sysvars_with_aliases_64bit_debug.result

raw
1 #### Initialize ####
2 #### Run ####
3 sysvar:
4 - name=init_replica
5 - alias=init_slave
6 - invalid=[7, 1.9, "FALSE"]
7 - global=1
8 - session=0
9 - cmdline=1
10 - persist=1
11 - persist_as_readonly=0
12 - dynamic=1
13 - min=
14 - max=
15 - block_size=1
16 - default=
17 - values=["'SELECT 1'", "'SELECT 9'", "'SELECT(3)'"]
18 ==== Testing SET @@global.init_replica [allowed values, range, invalid values] ====
19 # Initial value is default
20 include/assert.inc [@@global.init_replica should be ]
21 include/assert.inc [init_replica should be in P_S.global_variables]
22 include/assert.inc [@@global.init_slave should be ]
23 include/assert.inc [init_slave should be in P_S.global_variables]
24 # Valid values for variable
25 SET @@global.init_replica='SELECT 1';
26 include/assert.inc [@@global.init_replica should be SELECT 1]
27 include/assert.inc [init_replica should be SELECT 1 in P_S.global_variables]
28 include/assert.inc [@@global.init_slave should be SELECT 1]
29 include/assert.inc [init_slave should be SELECT 1 in P_S.global_variables]
30 SET @@global.init_replica='SELECT 9';
31 include/assert.inc [@@global.init_replica should be SELECT 9]
32 include/assert.inc [init_replica should be SELECT 9 in P_S.global_variables]
33 include/assert.inc [@@global.init_slave should be SELECT 9]
34 include/assert.inc [init_slave should be SELECT 9 in P_S.global_variables]
35 SET @@global.init_replica='SELECT(3)';
36 include/assert.inc [@@global.init_replica should be SELECT(3)]
37 include/assert.inc [init_replica should be SELECT(3) in P_S.global_variables]
38 include/assert.inc [@@global.init_slave should be SELECT(3)]
39 include/assert.inc [init_slave should be SELECT(3) in P_S.global_variables]
40 # Setting default value for variable
41 SET @@global.init_replica = DEFAULT;
42 include/assert.inc [@@global.init_replica should be ]
43 include/assert.inc [init_replica should be in P_S.global_variables]
44 include/assert.inc [@@global.init_slave should be ]
45 include/assert.inc [init_slave should be in P_S.global_variables]
46 # Invalid values
47 SET @@global.init_replica = 7;
48 Got one of the listed errors
49 SET @@global.init_replica = 1.9;
50 Got one of the listed errors
51 SET @@global.init_replica = FALSE;
52 Got one of the listed errors
53 # Restore default
54 SET @@global.init_replica = DEFAULT;
55 include/assert.inc [@@global.init_replica should be ]
56 include/assert.inc [init_replica should be in P_S.global_variables]
57 include/assert.inc [@@global.init_slave should be ]
58 include/assert.inc [init_slave should be in P_S.global_variables]
59 ==== Testing SET @@session.init_replica [invalid scope] ====
60 SET @@session.init_replica = DEFAULT;
61 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
62 SET @@init_replica = DEFAULT;
63 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
64 SET @@session.init_replica = 'SELECT 1';
65 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
66 SET @@init_replica = 'SELECT 1';
67 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
68 SET @@session.init_replica = 'SELECT 9';
69 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
70 SET @@init_replica = 'SELECT 9';
71 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
72 SET @@session.init_replica = 'SELECT(3)';
73 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
74 SET @@init_replica = 'SELECT(3)';
75 ERROR HY000: Variable 'init_replica' is a GLOBAL variable and should be set with SET GLOBAL
76 SELECT @@session.init_replica;
77 ERROR HY000: Variable 'init_replica' is a GLOBAL variable
78 SELECT @@init_replica;
79 @@init_replica
80
81 include/assert.inc [Variable init_replica should exist in performance_schema.session_variables]
82 ==== Testing SET @@global.init_slave [allowed values, range, invalid values] ====
83 # Initial value is default
84 include/assert.inc [@@global.init_slave should be ]
85 include/assert.inc [init_slave should be in P_S.global_variables]
86 include/assert.inc [@@global.init_replica should be ]
87 include/assert.inc [init_replica should be in P_S.global_variables]
88 # Valid values for variable
89 SET @@global.init_slave='SELECT 1';
90 Warnings:
91 Warning 1287 '@@init_slave' is deprecated and will be removed in a future release. Please use init_replica instead.
92 include/assert.inc [@@global.init_slave should be SELECT 1]
93 include/assert.inc [init_slave should be SELECT 1 in P_S.global_variables]
94 include/assert.inc [@@global.init_replica should be SELECT 1]
95 include/assert.inc [init_replica should be SELECT 1 in P_S.global_variables]
96 SET @@global.init_slave='SELECT 9';
97 Warnings:
98 Warning 1287 '@@init_slave' is deprecated and will be removed in a future release. Please use init_replica instead.
99 include/assert.inc [@@global.init_slave should be SELECT 9]
100 include/assert.inc [init_slave should be SELECT 9 in P_S.global_variables]
101 include/assert.inc [@@global.init_replica should be SELECT 9]
102 include/assert.inc [init_replica should be SELECT 9 in P_S.global_variables]
103 SET @@global.init_slave='SELECT(3)';
104 Warnings:
105 Warning 1287 '@@init_slave' is deprecated and will be removed in a future release. Please use init_replica instead.
106 include/assert.inc [@@global.init_slave should be SELECT(3)]
107 include/assert.inc [init_slave should be SELECT(3) in P_S.global_variables]
108 include/assert.inc [@@global.init_replica should be SELECT(3)]
109 include/assert.inc [init_replica should be SELECT(3) in P_S.global_variables]
110 # Setting default value for variable
111 SET @@global.init_slave = DEFAULT;
112 Warnings:
113 Warning 1287 '@@init_slave' is deprecated and will be removed in a future release. Please use init_replica instead.
114 include/assert.inc [@@global.init_slave should be ]
115 include/assert.inc [init_slave should be in P_S.global_variables]
116 include/assert.inc [@@global.init_replica should be ]
117 include/assert.inc [init_replica should be in P_S.global_variables]
118 # Invalid values
119 SET @@global.init_slave = 7;
120 Got one of the listed errors
121 SET @@global.init_slave = 1.9;
122 Got one of the listed errors
123 SET @@global.init_slave = FALSE;
124 Got one of the listed errors
125 # Restore default
126 SET @@global.init_slave = DEFAULT;
127 Warnings:
128 Warning 1287 '@@init_slave' is deprecated and will be removed in a future release. Please use init_replica instead.
129 include/assert.inc [@@global.init_slave should be ]
130 include/assert.inc [init_slave should be in P_S.global_variables]
131 include/assert.inc [@@global.init_replica should be ]
132 include/assert.inc [init_replica should be in P_S.global_variables]
133 ==== Testing SET @@session.init_slave [invalid scope] ====
134 SET @@session.init_slave = DEFAULT;
135 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
136 SET @@init_slave = DEFAULT;
137 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
138 SET @@session.init_slave = 'SELECT 1';
139 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
140 SET @@init_slave = 'SELECT 1';
141 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
142 SET @@session.init_slave = 'SELECT 9';
143 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
144 SET @@init_slave = 'SELECT 9';
145 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
146 SET @@session.init_slave = 'SELECT(3)';
147 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
148 SET @@init_slave = 'SELECT(3)';
149 ERROR HY000: Variable 'init_slave' is a GLOBAL variable and should be set with SET GLOBAL
150 SELECT @@session.init_slave;
151 ERROR HY000: Variable 'init_slave' is a GLOBAL variable
152 SELECT @@init_slave;
153 @@init_slave
154
155 Warnings:
156 Warning 1287 '@@init_slave' is deprecated and will be removed in a future release. Please use init_replica instead.
157 include/assert.inc [Variable init_slave should exist in performance_schema.session_variables]
158 sysvar:
159 - name=log_replica_updates
160 - alias=log_slave_updates
161 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
162 - global=1
163 - session=0
164 - cmdline=1
165 - persist=1
166 - persist_as_readonly=1
167 - dynamic=0
168 - min=
169 - max=
170 - block_size=1
171 - default=1
172 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
173 ==== Testing SET @@global.log_replica_updates [read-only] ====
174 # Initial value is default
175 include/assert.inc [@@global.log_replica_updates should be 1]
176 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
177 include/assert.inc [@@global.log_slave_updates should be 1]
178 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
179 # Valid values for *read-only* variable cannot be set
180 SET @@global.log_replica_updates = ON;
181 ERROR HY000: Variable 'log_replica_updates' is a read only variable
182 include/assert.inc [@@global.log_replica_updates should be 1]
183 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
184 include/assert.inc [@@global.log_slave_updates should be 1]
185 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
186 SET @@global.log_replica_updates = OFF;
187 ERROR HY000: Variable 'log_replica_updates' is a read only variable
188 include/assert.inc [@@global.log_replica_updates should be 1]
189 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
190 include/assert.inc [@@global.log_slave_updates should be 1]
191 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
192 SET @@global.log_replica_updates = 1;
193 ERROR HY000: Variable 'log_replica_updates' is a read only variable
194 include/assert.inc [@@global.log_replica_updates should be 1]
195 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
196 include/assert.inc [@@global.log_slave_updates should be 1]
197 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
198 SET @@global.log_replica_updates = 0;
199 ERROR HY000: Variable 'log_replica_updates' is a read only variable
200 include/assert.inc [@@global.log_replica_updates should be 1]
201 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
202 include/assert.inc [@@global.log_slave_updates should be 1]
203 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
204 SET @@global.log_replica_updates = TRUE;
205 ERROR HY000: Variable 'log_replica_updates' is a read only variable
206 include/assert.inc [@@global.log_replica_updates should be 1]
207 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
208 include/assert.inc [@@global.log_slave_updates should be 1]
209 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
210 SET @@global.log_replica_updates = FALSE;
211 ERROR HY000: Variable 'log_replica_updates' is a read only variable
212 include/assert.inc [@@global.log_replica_updates should be 1]
213 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
214 include/assert.inc [@@global.log_slave_updates should be 1]
215 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
216 SET @@global.log_replica_updates = 'ON';
217 ERROR HY000: Variable 'log_replica_updates' is a read only variable
218 include/assert.inc [@@global.log_replica_updates should be 1]
219 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
220 include/assert.inc [@@global.log_slave_updates should be 1]
221 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
222 SET @@global.log_replica_updates = 'OFF';
223 ERROR HY000: Variable 'log_replica_updates' is a read only variable
224 include/assert.inc [@@global.log_replica_updates should be 1]
225 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
226 include/assert.inc [@@global.log_slave_updates should be 1]
227 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
228 # Setting default value for variable
229 SET @@global.log_replica_updates = DEFAULT;
230 ERROR HY000: Variable 'log_replica_updates' is a read only variable
231 include/assert.inc [@@global.log_replica_updates should be 1]
232 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
233 include/assert.inc [@@global.log_slave_updates should be 1]
234 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
235 ==== Testing SET @@session.log_replica_updates [invalid scope] ====
236 SET @@session.log_replica_updates = DEFAULT;
237 ERROR HY000: Variable 'log_replica_updates' is a read only variable
238 SET @@log_replica_updates = DEFAULT;
239 ERROR HY000: Variable 'log_replica_updates' is a read only variable
240 SET @@session.log_replica_updates = ON;
241 ERROR HY000: Variable 'log_replica_updates' is a read only variable
242 SET @@log_replica_updates = ON;
243 ERROR HY000: Variable 'log_replica_updates' is a read only variable
244 SET @@session.log_replica_updates = OFF;
245 ERROR HY000: Variable 'log_replica_updates' is a read only variable
246 SET @@log_replica_updates = OFF;
247 ERROR HY000: Variable 'log_replica_updates' is a read only variable
248 SET @@session.log_replica_updates = 1;
249 ERROR HY000: Variable 'log_replica_updates' is a read only variable
250 SET @@log_replica_updates = 1;
251 ERROR HY000: Variable 'log_replica_updates' is a read only variable
252 SET @@session.log_replica_updates = 0;
253 ERROR HY000: Variable 'log_replica_updates' is a read only variable
254 SET @@log_replica_updates = 0;
255 ERROR HY000: Variable 'log_replica_updates' is a read only variable
256 SET @@session.log_replica_updates = TRUE;
257 ERROR HY000: Variable 'log_replica_updates' is a read only variable
258 SET @@log_replica_updates = TRUE;
259 ERROR HY000: Variable 'log_replica_updates' is a read only variable
260 SET @@session.log_replica_updates = FALSE;
261 ERROR HY000: Variable 'log_replica_updates' is a read only variable
262 SET @@log_replica_updates = FALSE;
263 ERROR HY000: Variable 'log_replica_updates' is a read only variable
264 SET @@session.log_replica_updates = 'ON';
265 ERROR HY000: Variable 'log_replica_updates' is a read only variable
266 SET @@log_replica_updates = 'ON';
267 ERROR HY000: Variable 'log_replica_updates' is a read only variable
268 SET @@session.log_replica_updates = 'OFF';
269 ERROR HY000: Variable 'log_replica_updates' is a read only variable
270 SET @@log_replica_updates = 'OFF';
271 ERROR HY000: Variable 'log_replica_updates' is a read only variable
272 SELECT @@session.log_replica_updates;
273 ERROR HY000: Variable 'log_replica_updates' is a GLOBAL variable
274 SELECT @@log_replica_updates;
275 @@log_replica_updates
276 1
277 include/assert.inc [Variable log_replica_updates should exist in performance_schema.session_variables]
278 ==== Testing SET @@global.log_slave_updates [read-only] ====
279 # Initial value is default
280 include/assert.inc [@@global.log_slave_updates should be 1]
281 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
282 include/assert.inc [@@global.log_replica_updates should be 1]
283 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
284 # Valid values for *read-only* variable cannot be set
285 SET @@global.log_slave_updates = ON;
286 ERROR HY000: Variable 'log_slave_updates' is a read only variable
287 include/assert.inc [@@global.log_slave_updates should be 1]
288 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
289 include/assert.inc [@@global.log_replica_updates should be 1]
290 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
291 SET @@global.log_slave_updates = OFF;
292 ERROR HY000: Variable 'log_slave_updates' is a read only variable
293 include/assert.inc [@@global.log_slave_updates should be 1]
294 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
295 include/assert.inc [@@global.log_replica_updates should be 1]
296 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
297 SET @@global.log_slave_updates = 1;
298 ERROR HY000: Variable 'log_slave_updates' is a read only variable
299 include/assert.inc [@@global.log_slave_updates should be 1]
300 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
301 include/assert.inc [@@global.log_replica_updates should be 1]
302 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
303 SET @@global.log_slave_updates = 0;
304 ERROR HY000: Variable 'log_slave_updates' is a read only variable
305 include/assert.inc [@@global.log_slave_updates should be 1]
306 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
307 include/assert.inc [@@global.log_replica_updates should be 1]
308 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
309 SET @@global.log_slave_updates = TRUE;
310 ERROR HY000: Variable 'log_slave_updates' is a read only variable
311 include/assert.inc [@@global.log_slave_updates should be 1]
312 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
313 include/assert.inc [@@global.log_replica_updates should be 1]
314 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
315 SET @@global.log_slave_updates = FALSE;
316 ERROR HY000: Variable 'log_slave_updates' is a read only variable
317 include/assert.inc [@@global.log_slave_updates should be 1]
318 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
319 include/assert.inc [@@global.log_replica_updates should be 1]
320 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
321 SET @@global.log_slave_updates = 'ON';
322 ERROR HY000: Variable 'log_slave_updates' is a read only variable
323 include/assert.inc [@@global.log_slave_updates should be 1]
324 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
325 include/assert.inc [@@global.log_replica_updates should be 1]
326 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
327 SET @@global.log_slave_updates = 'OFF';
328 ERROR HY000: Variable 'log_slave_updates' is a read only variable
329 include/assert.inc [@@global.log_slave_updates should be 1]
330 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
331 include/assert.inc [@@global.log_replica_updates should be 1]
332 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
333 # Setting default value for variable
334 SET @@global.log_slave_updates = DEFAULT;
335 ERROR HY000: Variable 'log_slave_updates' is a read only variable
336 include/assert.inc [@@global.log_slave_updates should be 1]
337 include/assert.inc [log_slave_updates should be 1 in P_S.global_variables]
338 include/assert.inc [@@global.log_replica_updates should be 1]
339 include/assert.inc [log_replica_updates should be 1 in P_S.global_variables]
340 ==== Testing SET @@session.log_slave_updates [invalid scope] ====
341 SET @@session.log_slave_updates = DEFAULT;
342 ERROR HY000: Variable 'log_slave_updates' is a read only variable
343 SET @@log_slave_updates = DEFAULT;
344 ERROR HY000: Variable 'log_slave_updates' is a read only variable
345 SET @@session.log_slave_updates = ON;
346 ERROR HY000: Variable 'log_slave_updates' is a read only variable
347 SET @@log_slave_updates = ON;
348 ERROR HY000: Variable 'log_slave_updates' is a read only variable
349 SET @@session.log_slave_updates = OFF;
350 ERROR HY000: Variable 'log_slave_updates' is a read only variable
351 SET @@log_slave_updates = OFF;
352 ERROR HY000: Variable 'log_slave_updates' is a read only variable
353 SET @@session.log_slave_updates = 1;
354 ERROR HY000: Variable 'log_slave_updates' is a read only variable
355 SET @@log_slave_updates = 1;
356 ERROR HY000: Variable 'log_slave_updates' is a read only variable
357 SET @@session.log_slave_updates = 0;
358 ERROR HY000: Variable 'log_slave_updates' is a read only variable
359 SET @@log_slave_updates = 0;
360 ERROR HY000: Variable 'log_slave_updates' is a read only variable
361 SET @@session.log_slave_updates = TRUE;
362 ERROR HY000: Variable 'log_slave_updates' is a read only variable
363 SET @@log_slave_updates = TRUE;
364 ERROR HY000: Variable 'log_slave_updates' is a read only variable
365 SET @@session.log_slave_updates = FALSE;
366 ERROR HY000: Variable 'log_slave_updates' is a read only variable
367 SET @@log_slave_updates = FALSE;
368 ERROR HY000: Variable 'log_slave_updates' is a read only variable
369 SET @@session.log_slave_updates = 'ON';
370 ERROR HY000: Variable 'log_slave_updates' is a read only variable
371 SET @@log_slave_updates = 'ON';
372 ERROR HY000: Variable 'log_slave_updates' is a read only variable
373 SET @@session.log_slave_updates = 'OFF';
374 ERROR HY000: Variable 'log_slave_updates' is a read only variable
375 SET @@log_slave_updates = 'OFF';
376 ERROR HY000: Variable 'log_slave_updates' is a read only variable
377 SELECT @@session.log_slave_updates;
378 ERROR HY000: Variable 'log_slave_updates' is a GLOBAL variable
379 SELECT @@log_slave_updates;
380 @@log_slave_updates
381 1
382 Warnings:
383 Warning 1287 '@@log_slave_updates' is deprecated and will be removed in a future release. Please use log_replica_updates instead.
384 include/assert.inc [Variable log_slave_updates should exist in performance_schema.session_variables]
385 sysvar:
386 - name=log_slow_replica_statements
387 - alias=log_slow_slave_statements
388 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
389 - global=1
390 - session=0
391 - cmdline=1
392 - persist=1
393 - persist_as_readonly=0
394 - dynamic=1
395 - min=
396 - max=
397 - block_size=1
398 - default=0
399 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
400 ==== Testing SET @@global.log_slow_replica_statements [allowed values, range, invalid values] ====
401 # Initial value is default
402 include/assert.inc [@@global.log_slow_replica_statements should be 0]
403 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
404 include/assert.inc [@@global.log_slow_slave_statements should be 0]
405 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
406 # Valid values for variable
407 SET @@global.log_slow_replica_statements=ON;
408 include/assert.inc [@@global.log_slow_replica_statements should be 1]
409 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
410 include/assert.inc [@@global.log_slow_slave_statements should be 1]
411 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
412 SET @@global.log_slow_replica_statements=OFF;
413 include/assert.inc [@@global.log_slow_replica_statements should be 0]
414 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
415 include/assert.inc [@@global.log_slow_slave_statements should be 0]
416 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
417 SET @@global.log_slow_replica_statements=1;
418 include/assert.inc [@@global.log_slow_replica_statements should be 1]
419 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
420 include/assert.inc [@@global.log_slow_slave_statements should be 1]
421 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
422 SET @@global.log_slow_replica_statements=0;
423 include/assert.inc [@@global.log_slow_replica_statements should be 0]
424 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
425 include/assert.inc [@@global.log_slow_slave_statements should be 0]
426 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
427 SET @@global.log_slow_replica_statements=TRUE;
428 include/assert.inc [@@global.log_slow_replica_statements should be 1]
429 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
430 include/assert.inc [@@global.log_slow_slave_statements should be 1]
431 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
432 SET @@global.log_slow_replica_statements=FALSE;
433 include/assert.inc [@@global.log_slow_replica_statements should be 0]
434 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
435 include/assert.inc [@@global.log_slow_slave_statements should be 0]
436 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
437 SET @@global.log_slow_replica_statements='ON';
438 include/assert.inc [@@global.log_slow_replica_statements should be 1]
439 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
440 include/assert.inc [@@global.log_slow_slave_statements should be 1]
441 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
442 SET @@global.log_slow_replica_statements='OFF';
443 include/assert.inc [@@global.log_slow_replica_statements should be 0]
444 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
445 include/assert.inc [@@global.log_slow_slave_statements should be 0]
446 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
447 # Setting default value for variable
448 SET @@global.log_slow_replica_statements = DEFAULT;
449 include/assert.inc [@@global.log_slow_replica_statements should be 0]
450 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
451 include/assert.inc [@@global.log_slow_slave_statements should be 0]
452 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
453 # Invalid values
454 SET @@global.log_slow_replica_statements = 0.1;
455 Got one of the listed errors
456 SET @@global.log_slow_replica_statements = 2;
457 Got one of the listed errors
458 SET @@global.log_slow_replica_statements = -1;
459 Got one of the listed errors
460 SET @@global.log_slow_replica_statements = '';
461 Got one of the listed errors
462 SET @@global.log_slow_replica_statements = 'x';
463 Got one of the listed errors
464 SET @@global.log_slow_replica_statements = 'TRUE';
465 Got one of the listed errors
466 SET @@global.log_slow_replica_statements = '1';
467 Got one of the listed errors
468 SET @@global.log_slow_replica_statements = NULL;
469 Got one of the listed errors
470 # Restore default
471 SET @@global.log_slow_replica_statements = DEFAULT;
472 include/assert.inc [@@global.log_slow_replica_statements should be 0]
473 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
474 include/assert.inc [@@global.log_slow_slave_statements should be 0]
475 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
476 ==== Testing SET @@session.log_slow_replica_statements [invalid scope] ====
477 SET @@session.log_slow_replica_statements = DEFAULT;
478 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
479 SET @@log_slow_replica_statements = DEFAULT;
480 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
481 SET @@session.log_slow_replica_statements = ON;
482 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
483 SET @@log_slow_replica_statements = ON;
484 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
485 SET @@session.log_slow_replica_statements = OFF;
486 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
487 SET @@log_slow_replica_statements = OFF;
488 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
489 SET @@session.log_slow_replica_statements = 1;
490 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
491 SET @@log_slow_replica_statements = 1;
492 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
493 SET @@session.log_slow_replica_statements = 0;
494 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
495 SET @@log_slow_replica_statements = 0;
496 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
497 SET @@session.log_slow_replica_statements = TRUE;
498 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
499 SET @@log_slow_replica_statements = TRUE;
500 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
501 SET @@session.log_slow_replica_statements = FALSE;
502 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
503 SET @@log_slow_replica_statements = FALSE;
504 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
505 SET @@session.log_slow_replica_statements = 'ON';
506 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
507 SET @@log_slow_replica_statements = 'ON';
508 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
509 SET @@session.log_slow_replica_statements = 'OFF';
510 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
511 SET @@log_slow_replica_statements = 'OFF';
512 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable and should be set with SET GLOBAL
513 SELECT @@session.log_slow_replica_statements;
514 ERROR HY000: Variable 'log_slow_replica_statements' is a GLOBAL variable
515 SELECT @@log_slow_replica_statements;
516 @@log_slow_replica_statements
517 0
518 include/assert.inc [Variable log_slow_replica_statements should exist in performance_schema.session_variables]
519 ==== Testing SET @@global.log_slow_slave_statements [allowed values, range, invalid values] ====
520 # Initial value is default
521 include/assert.inc [@@global.log_slow_slave_statements should be 0]
522 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
523 include/assert.inc [@@global.log_slow_replica_statements should be 0]
524 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
525 # Valid values for variable
526 SET @@global.log_slow_slave_statements=ON;
527 Warnings:
528 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
529 include/assert.inc [@@global.log_slow_slave_statements should be 1]
530 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
531 include/assert.inc [@@global.log_slow_replica_statements should be 1]
532 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
533 SET @@global.log_slow_slave_statements=OFF;
534 Warnings:
535 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
536 include/assert.inc [@@global.log_slow_slave_statements should be 0]
537 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
538 include/assert.inc [@@global.log_slow_replica_statements should be 0]
539 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
540 SET @@global.log_slow_slave_statements=1;
541 Warnings:
542 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
543 include/assert.inc [@@global.log_slow_slave_statements should be 1]
544 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
545 include/assert.inc [@@global.log_slow_replica_statements should be 1]
546 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
547 SET @@global.log_slow_slave_statements=0;
548 Warnings:
549 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
550 include/assert.inc [@@global.log_slow_slave_statements should be 0]
551 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
552 include/assert.inc [@@global.log_slow_replica_statements should be 0]
553 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
554 SET @@global.log_slow_slave_statements=TRUE;
555 Warnings:
556 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
557 include/assert.inc [@@global.log_slow_slave_statements should be 1]
558 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
559 include/assert.inc [@@global.log_slow_replica_statements should be 1]
560 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
561 SET @@global.log_slow_slave_statements=FALSE;
562 Warnings:
563 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
564 include/assert.inc [@@global.log_slow_slave_statements should be 0]
565 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
566 include/assert.inc [@@global.log_slow_replica_statements should be 0]
567 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
568 SET @@global.log_slow_slave_statements='ON';
569 Warnings:
570 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
571 include/assert.inc [@@global.log_slow_slave_statements should be 1]
572 include/assert.inc [log_slow_slave_statements should be 1 in P_S.global_variables]
573 include/assert.inc [@@global.log_slow_replica_statements should be 1]
574 include/assert.inc [log_slow_replica_statements should be 1 in P_S.global_variables]
575 SET @@global.log_slow_slave_statements='OFF';
576 Warnings:
577 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
578 include/assert.inc [@@global.log_slow_slave_statements should be 0]
579 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
580 include/assert.inc [@@global.log_slow_replica_statements should be 0]
581 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
582 # Setting default value for variable
583 SET @@global.log_slow_slave_statements = DEFAULT;
584 Warnings:
585 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
586 include/assert.inc [@@global.log_slow_slave_statements should be 0]
587 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
588 include/assert.inc [@@global.log_slow_replica_statements should be 0]
589 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
590 # Invalid values
591 SET @@global.log_slow_slave_statements = 0.1;
592 Got one of the listed errors
593 SET @@global.log_slow_slave_statements = 2;
594 Got one of the listed errors
595 SET @@global.log_slow_slave_statements = -1;
596 Got one of the listed errors
597 SET @@global.log_slow_slave_statements = '';
598 Got one of the listed errors
599 SET @@global.log_slow_slave_statements = 'x';
600 Got one of the listed errors
601 SET @@global.log_slow_slave_statements = 'TRUE';
602 Got one of the listed errors
603 SET @@global.log_slow_slave_statements = '1';
604 Got one of the listed errors
605 SET @@global.log_slow_slave_statements = NULL;
606 Got one of the listed errors
607 # Restore default
608 SET @@global.log_slow_slave_statements = DEFAULT;
609 Warnings:
610 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
611 include/assert.inc [@@global.log_slow_slave_statements should be 0]
612 include/assert.inc [log_slow_slave_statements should be 0 in P_S.global_variables]
613 include/assert.inc [@@global.log_slow_replica_statements should be 0]
614 include/assert.inc [log_slow_replica_statements should be 0 in P_S.global_variables]
615 ==== Testing SET @@session.log_slow_slave_statements [invalid scope] ====
616 SET @@session.log_slow_slave_statements = DEFAULT;
617 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
618 SET @@log_slow_slave_statements = DEFAULT;
619 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
620 SET @@session.log_slow_slave_statements = ON;
621 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
622 SET @@log_slow_slave_statements = ON;
623 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
624 SET @@session.log_slow_slave_statements = OFF;
625 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
626 SET @@log_slow_slave_statements = OFF;
627 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
628 SET @@session.log_slow_slave_statements = 1;
629 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
630 SET @@log_slow_slave_statements = 1;
631 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
632 SET @@session.log_slow_slave_statements = 0;
633 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
634 SET @@log_slow_slave_statements = 0;
635 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
636 SET @@session.log_slow_slave_statements = TRUE;
637 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
638 SET @@log_slow_slave_statements = TRUE;
639 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
640 SET @@session.log_slow_slave_statements = FALSE;
641 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
642 SET @@log_slow_slave_statements = FALSE;
643 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
644 SET @@session.log_slow_slave_statements = 'ON';
645 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
646 SET @@log_slow_slave_statements = 'ON';
647 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
648 SET @@session.log_slow_slave_statements = 'OFF';
649 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
650 SET @@log_slow_slave_statements = 'OFF';
651 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable and should be set with SET GLOBAL
652 SELECT @@session.log_slow_slave_statements;
653 ERROR HY000: Variable 'log_slow_slave_statements' is a GLOBAL variable
654 SELECT @@log_slow_slave_statements;
655 @@log_slow_slave_statements
656 0
657 Warnings:
658 Warning 1287 '@@log_slow_slave_statements' is deprecated and will be removed in a future release. Please use log_slow_replica_statements instead.
659 include/assert.inc [Variable log_slow_slave_statements should exist in performance_schema.session_variables]
660 sysvar:
661 - name=replica_allow_batching
662 - alias=slave_allow_batching
663 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
664 - global=1
665 - session=0
666 - cmdline=1
667 - persist=1
668 - persist_as_readonly=0
669 - dynamic=1
670 - min=
671 - max=
672 - block_size=1
673 - default=1
674 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
675 ==== Testing SET @@global.replica_allow_batching [allowed values, range, invalid values] ====
676 # Initial value is default
677 include/assert.inc [@@global.replica_allow_batching should be 1]
678 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
679 include/assert.inc [@@global.slave_allow_batching should be 1]
680 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
681 # Valid values for variable
682 SET @@global.replica_allow_batching=ON;
683 include/assert.inc [@@global.replica_allow_batching should be 1]
684 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
685 include/assert.inc [@@global.slave_allow_batching should be 1]
686 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
687 SET @@global.replica_allow_batching=OFF;
688 include/assert.inc [@@global.replica_allow_batching should be 0]
689 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
690 include/assert.inc [@@global.slave_allow_batching should be 0]
691 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
692 SET @@global.replica_allow_batching=1;
693 include/assert.inc [@@global.replica_allow_batching should be 1]
694 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
695 include/assert.inc [@@global.slave_allow_batching should be 1]
696 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
697 SET @@global.replica_allow_batching=0;
698 include/assert.inc [@@global.replica_allow_batching should be 0]
699 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
700 include/assert.inc [@@global.slave_allow_batching should be 0]
701 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
702 SET @@global.replica_allow_batching=TRUE;
703 include/assert.inc [@@global.replica_allow_batching should be 1]
704 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
705 include/assert.inc [@@global.slave_allow_batching should be 1]
706 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
707 SET @@global.replica_allow_batching=FALSE;
708 include/assert.inc [@@global.replica_allow_batching should be 0]
709 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
710 include/assert.inc [@@global.slave_allow_batching should be 0]
711 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
712 SET @@global.replica_allow_batching='ON';
713 include/assert.inc [@@global.replica_allow_batching should be 1]
714 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
715 include/assert.inc [@@global.slave_allow_batching should be 1]
716 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
717 SET @@global.replica_allow_batching='OFF';
718 include/assert.inc [@@global.replica_allow_batching should be 0]
719 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
720 include/assert.inc [@@global.slave_allow_batching should be 0]
721 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
722 # Setting default value for variable
723 SET @@global.replica_allow_batching = DEFAULT;
724 include/assert.inc [@@global.replica_allow_batching should be 1]
725 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
726 include/assert.inc [@@global.slave_allow_batching should be 1]
727 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
728 # Invalid values
729 SET @@global.replica_allow_batching = 0.1;
730 Got one of the listed errors
731 SET @@global.replica_allow_batching = 2;
732 Got one of the listed errors
733 SET @@global.replica_allow_batching = -1;
734 Got one of the listed errors
735 SET @@global.replica_allow_batching = '';
736 Got one of the listed errors
737 SET @@global.replica_allow_batching = 'x';
738 Got one of the listed errors
739 SET @@global.replica_allow_batching = 'TRUE';
740 Got one of the listed errors
741 SET @@global.replica_allow_batching = '1';
742 Got one of the listed errors
743 SET @@global.replica_allow_batching = NULL;
744 Got one of the listed errors
745 # Restore default
746 SET @@global.replica_allow_batching = DEFAULT;
747 include/assert.inc [@@global.replica_allow_batching should be 1]
748 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
749 include/assert.inc [@@global.slave_allow_batching should be 1]
750 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
751 ==== Testing SET @@session.replica_allow_batching [invalid scope] ====
752 SET @@session.replica_allow_batching = DEFAULT;
753 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
754 SET @@replica_allow_batching = DEFAULT;
755 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
756 SET @@session.replica_allow_batching = ON;
757 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
758 SET @@replica_allow_batching = ON;
759 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
760 SET @@session.replica_allow_batching = OFF;
761 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
762 SET @@replica_allow_batching = OFF;
763 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
764 SET @@session.replica_allow_batching = 1;
765 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
766 SET @@replica_allow_batching = 1;
767 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
768 SET @@session.replica_allow_batching = 0;
769 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
770 SET @@replica_allow_batching = 0;
771 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
772 SET @@session.replica_allow_batching = TRUE;
773 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
774 SET @@replica_allow_batching = TRUE;
775 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
776 SET @@session.replica_allow_batching = FALSE;
777 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
778 SET @@replica_allow_batching = FALSE;
779 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
780 SET @@session.replica_allow_batching = 'ON';
781 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
782 SET @@replica_allow_batching = 'ON';
783 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
784 SET @@session.replica_allow_batching = 'OFF';
785 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
786 SET @@replica_allow_batching = 'OFF';
787 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
788 SELECT @@session.replica_allow_batching;
789 ERROR HY000: Variable 'replica_allow_batching' is a GLOBAL variable
790 SELECT @@replica_allow_batching;
791 @@replica_allow_batching
792 1
793 include/assert.inc [Variable replica_allow_batching should exist in performance_schema.session_variables]
794 ==== Testing SET @@global.slave_allow_batching [allowed values, range, invalid values] ====
795 # Initial value is default
796 include/assert.inc [@@global.slave_allow_batching should be 1]
797 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
798 include/assert.inc [@@global.replica_allow_batching should be 1]
799 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
800 # Valid values for variable
801 SET @@global.slave_allow_batching=ON;
802 Warnings:
803 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
804 include/assert.inc [@@global.slave_allow_batching should be 1]
805 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
806 include/assert.inc [@@global.replica_allow_batching should be 1]
807 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
808 SET @@global.slave_allow_batching=OFF;
809 Warnings:
810 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
811 include/assert.inc [@@global.slave_allow_batching should be 0]
812 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
813 include/assert.inc [@@global.replica_allow_batching should be 0]
814 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
815 SET @@global.slave_allow_batching=1;
816 Warnings:
817 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
818 include/assert.inc [@@global.slave_allow_batching should be 1]
819 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
820 include/assert.inc [@@global.replica_allow_batching should be 1]
821 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
822 SET @@global.slave_allow_batching=0;
823 Warnings:
824 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
825 include/assert.inc [@@global.slave_allow_batching should be 0]
826 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
827 include/assert.inc [@@global.replica_allow_batching should be 0]
828 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
829 SET @@global.slave_allow_batching=TRUE;
830 Warnings:
831 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
832 include/assert.inc [@@global.slave_allow_batching should be 1]
833 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
834 include/assert.inc [@@global.replica_allow_batching should be 1]
835 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
836 SET @@global.slave_allow_batching=FALSE;
837 Warnings:
838 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
839 include/assert.inc [@@global.slave_allow_batching should be 0]
840 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
841 include/assert.inc [@@global.replica_allow_batching should be 0]
842 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
843 SET @@global.slave_allow_batching='ON';
844 Warnings:
845 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
846 include/assert.inc [@@global.slave_allow_batching should be 1]
847 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
848 include/assert.inc [@@global.replica_allow_batching should be 1]
849 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
850 SET @@global.slave_allow_batching='OFF';
851 Warnings:
852 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
853 include/assert.inc [@@global.slave_allow_batching should be 0]
854 include/assert.inc [slave_allow_batching should be 0 in P_S.global_variables]
855 include/assert.inc [@@global.replica_allow_batching should be 0]
856 include/assert.inc [replica_allow_batching should be 0 in P_S.global_variables]
857 # Setting default value for variable
858 SET @@global.slave_allow_batching = DEFAULT;
859 Warnings:
860 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
861 include/assert.inc [@@global.slave_allow_batching should be 1]
862 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
863 include/assert.inc [@@global.replica_allow_batching should be 1]
864 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
865 # Invalid values
866 SET @@global.slave_allow_batching = 0.1;
867 Got one of the listed errors
868 SET @@global.slave_allow_batching = 2;
869 Got one of the listed errors
870 SET @@global.slave_allow_batching = -1;
871 Got one of the listed errors
872 SET @@global.slave_allow_batching = '';
873 Got one of the listed errors
874 SET @@global.slave_allow_batching = 'x';
875 Got one of the listed errors
876 SET @@global.slave_allow_batching = 'TRUE';
877 Got one of the listed errors
878 SET @@global.slave_allow_batching = '1';
879 Got one of the listed errors
880 SET @@global.slave_allow_batching = NULL;
881 Got one of the listed errors
882 # Restore default
883 SET @@global.slave_allow_batching = DEFAULT;
884 Warnings:
885 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
886 include/assert.inc [@@global.slave_allow_batching should be 1]
887 include/assert.inc [slave_allow_batching should be 1 in P_S.global_variables]
888 include/assert.inc [@@global.replica_allow_batching should be 1]
889 include/assert.inc [replica_allow_batching should be 1 in P_S.global_variables]
890 ==== Testing SET @@session.slave_allow_batching [invalid scope] ====
891 SET @@session.slave_allow_batching = DEFAULT;
892 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
893 SET @@slave_allow_batching = DEFAULT;
894 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
895 SET @@session.slave_allow_batching = ON;
896 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
897 SET @@slave_allow_batching = ON;
898 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
899 SET @@session.slave_allow_batching = OFF;
900 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
901 SET @@slave_allow_batching = OFF;
902 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
903 SET @@session.slave_allow_batching = 1;
904 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
905 SET @@slave_allow_batching = 1;
906 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
907 SET @@session.slave_allow_batching = 0;
908 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
909 SET @@slave_allow_batching = 0;
910 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
911 SET @@session.slave_allow_batching = TRUE;
912 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
913 SET @@slave_allow_batching = TRUE;
914 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
915 SET @@session.slave_allow_batching = FALSE;
916 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
917 SET @@slave_allow_batching = FALSE;
918 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
919 SET @@session.slave_allow_batching = 'ON';
920 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
921 SET @@slave_allow_batching = 'ON';
922 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
923 SET @@session.slave_allow_batching = 'OFF';
924 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
925 SET @@slave_allow_batching = 'OFF';
926 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
927 SELECT @@session.slave_allow_batching;
928 ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable
929 SELECT @@slave_allow_batching;
930 @@slave_allow_batching
931 1
932 Warnings:
933 Warning 1287 '@@slave_allow_batching' is deprecated and will be removed in a future release. Please use replica_allow_batching instead.
934 include/assert.inc [Variable slave_allow_batching should exist in performance_schema.session_variables]
935 sysvar:
936 - name=replica_checkpoint_group
937 - alias=slave_checkpoint_group
938 - invalid=[1.5, "ON", "'x'", "NULL"]
939 - global=1
940 - session=0
941 - cmdline=1
942 - persist=1
943 - persist_as_readonly=0
944 - dynamic=1
945 - min=1
946 - max=524280
947 - block_size=1
948 - default=512
949 - values=[520, 1000, 2000]
950 ==== Testing SET @@global.replica_checkpoint_group [allowed values, range, invalid values] ====
951 # Initial value is default
952 include/assert.inc [@@global.replica_checkpoint_group should be 512]
953 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
954 include/assert.inc [@@global.slave_checkpoint_group should be 512]
955 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
956 # Valid values for variable
957 SET @@global.replica_checkpoint_group=520;
958 include/assert.inc [@@global.replica_checkpoint_group should be 520]
959 include/assert.inc [replica_checkpoint_group should be 520 in P_S.global_variables]
960 include/assert.inc [@@global.slave_checkpoint_group should be 520]
961 include/assert.inc [slave_checkpoint_group should be 520 in P_S.global_variables]
962 SET @@global.replica_checkpoint_group=1000;
963 include/assert.inc [@@global.replica_checkpoint_group should be 1000]
964 include/assert.inc [replica_checkpoint_group should be 1000 in P_S.global_variables]
965 include/assert.inc [@@global.slave_checkpoint_group should be 1000]
966 include/assert.inc [slave_checkpoint_group should be 1000 in P_S.global_variables]
967 SET @@global.replica_checkpoint_group=2000;
968 include/assert.inc [@@global.replica_checkpoint_group should be 2000]
969 include/assert.inc [replica_checkpoint_group should be 2000 in P_S.global_variables]
970 include/assert.inc [@@global.slave_checkpoint_group should be 2000]
971 include/assert.inc [slave_checkpoint_group should be 2000 in P_S.global_variables]
972 # Setting default value for variable
973 SET @@global.replica_checkpoint_group = DEFAULT;
974 include/assert.inc [@@global.replica_checkpoint_group should be 512]
975 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
976 include/assert.inc [@@global.slave_checkpoint_group should be 512]
977 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
978 # Minimum value
979 SET @@global.replica_checkpoint_group = 1;
980 include/assert.inc [@@global.replica_checkpoint_group should be 1]
981 include/assert.inc [replica_checkpoint_group should be 1 in P_S.global_variables]
982 include/assert.inc [@@global.slave_checkpoint_group should be 1]
983 include/assert.inc [slave_checkpoint_group should be 1 in P_S.global_variables]
984 include/assert.inc [Expected min value should equal min value in performance_schema]
985 # Less-than-minimum values
986 SET @@global.replica_checkpoint_group = 0;
987 Warnings:
988 Warning 1292 Truncated incorrect replica_checkpoint_group value: '0'
989 include/assert.inc [@@global.replica_checkpoint_group should be 1]
990 include/assert.inc [replica_checkpoint_group should be 1 in P_S.global_variables]
991 include/assert.inc [@@global.slave_checkpoint_group should be 1]
992 include/assert.inc [slave_checkpoint_group should be 1 in P_S.global_variables]
993 # Maximum value
994 SET @@global.replica_checkpoint_group = 524280;
995 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
996 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
997 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
998 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
999 include/assert.inc [Expected max value should equal max value in performance_schema]
1000 # Greater-than-maximum values
1001 SET @@global.replica_checkpoint_group = 524281;
1002 Warnings:
1003 Warning 1292 Truncated incorrect replica_checkpoint_group value: '524281'
1004 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1005 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1006 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1007 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1008 # Invalid values
1009 SET @@global.replica_checkpoint_group = 1.5;
1010 Got one of the listed errors
1011 SET @@global.replica_checkpoint_group = ON;
1012 Got one of the listed errors
1013 SET @@global.replica_checkpoint_group = 'x';
1014 Got one of the listed errors
1015 SET @@global.replica_checkpoint_group = NULL;
1016 Got one of the listed errors
1017 # Restore default
1018 SET @@global.replica_checkpoint_group = DEFAULT;
1019 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1020 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1021 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1022 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1023 ==== Testing SET @@session.replica_checkpoint_group [invalid scope] ====
1024 SET @@session.replica_checkpoint_group = DEFAULT;
1025 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1026 SET @@replica_checkpoint_group = DEFAULT;
1027 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1028 SET @@session.replica_checkpoint_group = 520;
1029 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1030 SET @@replica_checkpoint_group = 520;
1031 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1032 SET @@session.replica_checkpoint_group = 1000;
1033 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1034 SET @@replica_checkpoint_group = 1000;
1035 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1036 SET @@session.replica_checkpoint_group = 2000;
1037 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1038 SET @@replica_checkpoint_group = 2000;
1039 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1040 SELECT @@session.replica_checkpoint_group;
1041 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable
1042 SELECT @@replica_checkpoint_group;
1043 @@replica_checkpoint_group
1044 512
1045 include/assert.inc [Variable replica_checkpoint_group should exist in performance_schema.session_variables]
1046 ==== Testing SET @@global.slave_checkpoint_group [allowed values, range, invalid values] ====
1047 # Initial value is default
1048 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1049 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1050 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1051 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1052 # Valid values for variable
1053 SET @@global.slave_checkpoint_group=520;
1054 Warnings:
1055 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1056 include/assert.inc [@@global.slave_checkpoint_group should be 520]
1057 include/assert.inc [slave_checkpoint_group should be 520 in P_S.global_variables]
1058 include/assert.inc [@@global.replica_checkpoint_group should be 520]
1059 include/assert.inc [replica_checkpoint_group should be 520 in P_S.global_variables]
1060 SET @@global.slave_checkpoint_group=1000;
1061 Warnings:
1062 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1063 include/assert.inc [@@global.slave_checkpoint_group should be 1000]
1064 include/assert.inc [slave_checkpoint_group should be 1000 in P_S.global_variables]
1065 include/assert.inc [@@global.replica_checkpoint_group should be 1000]
1066 include/assert.inc [replica_checkpoint_group should be 1000 in P_S.global_variables]
1067 SET @@global.slave_checkpoint_group=2000;
1068 Warnings:
1069 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1070 include/assert.inc [@@global.slave_checkpoint_group should be 2000]
1071 include/assert.inc [slave_checkpoint_group should be 2000 in P_S.global_variables]
1072 include/assert.inc [@@global.replica_checkpoint_group should be 2000]
1073 include/assert.inc [replica_checkpoint_group should be 2000 in P_S.global_variables]
1074 # Setting default value for variable
1075 SET @@global.slave_checkpoint_group = DEFAULT;
1076 Warnings:
1077 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1078 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1079 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1080 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1081 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1082 # Minimum value
1083 SET @@global.slave_checkpoint_group = 1;
1084 Warnings:
1085 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1086 include/assert.inc [@@global.slave_checkpoint_group should be 1]
1087 include/assert.inc [slave_checkpoint_group should be 1 in P_S.global_variables]
1088 include/assert.inc [@@global.replica_checkpoint_group should be 1]
1089 include/assert.inc [replica_checkpoint_group should be 1 in P_S.global_variables]
1090 include/assert.inc [Expected min value should equal min value in performance_schema]
1091 # Less-than-minimum values
1092 SET @@global.slave_checkpoint_group = 0;
1093 Warnings:
1094 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1095 Warning 1292 Truncated incorrect replica_checkpoint_group value: '0'
1096 include/assert.inc [@@global.slave_checkpoint_group should be 1]
1097 include/assert.inc [slave_checkpoint_group should be 1 in P_S.global_variables]
1098 include/assert.inc [@@global.replica_checkpoint_group should be 1]
1099 include/assert.inc [replica_checkpoint_group should be 1 in P_S.global_variables]
1100 # Maximum value
1101 SET @@global.slave_checkpoint_group = 524280;
1102 Warnings:
1103 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1104 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1105 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1106 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1107 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1108 include/assert.inc [Expected max value should equal max value in performance_schema]
1109 # Greater-than-maximum values
1110 SET @@global.slave_checkpoint_group = 524281;
1111 Warnings:
1112 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1113 Warning 1292 Truncated incorrect replica_checkpoint_group value: '524281'
1114 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1115 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1116 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1117 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1118 # Invalid values
1119 SET @@global.slave_checkpoint_group = 1.5;
1120 Got one of the listed errors
1121 SET @@global.slave_checkpoint_group = ON;
1122 Got one of the listed errors
1123 SET @@global.slave_checkpoint_group = 'x';
1124 Got one of the listed errors
1125 SET @@global.slave_checkpoint_group = NULL;
1126 Got one of the listed errors
1127 # Restore default
1128 SET @@global.slave_checkpoint_group = DEFAULT;
1129 Warnings:
1130 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1131 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1132 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1133 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1134 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1135 ==== Testing SET @@session.slave_checkpoint_group [invalid scope] ====
1136 SET @@session.slave_checkpoint_group = DEFAULT;
1137 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1138 SET @@slave_checkpoint_group = DEFAULT;
1139 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1140 SET @@session.slave_checkpoint_group = 520;
1141 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1142 SET @@slave_checkpoint_group = 520;
1143 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1144 SET @@session.slave_checkpoint_group = 1000;
1145 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1146 SET @@slave_checkpoint_group = 1000;
1147 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1148 SET @@session.slave_checkpoint_group = 2000;
1149 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1150 SET @@slave_checkpoint_group = 2000;
1151 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1152 SELECT @@session.slave_checkpoint_group;
1153 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable
1154 SELECT @@slave_checkpoint_group;
1155 @@slave_checkpoint_group
1156 512
1157 Warnings:
1158 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1159 include/assert.inc [Variable slave_checkpoint_group should exist in performance_schema.session_variables]
1160 sysvar:
1161 - name=replica_checkpoint_period
1162 - alias=slave_checkpoint_period
1163 - invalid=[1.5, "ON", "'x'", "NULL"]
1164 - global=1
1165 - session=0
1166 - cmdline=1
1167 - persist=1
1168 - persist_as_readonly=0
1169 - dynamic=1
1170 - min=0
1171 - max=4294967295
1172 - block_size=1
1173 - default=300
1174 - values=[1, 2, 12323]
1175 ==== Testing SET @@global.replica_checkpoint_period [allowed values, range, invalid values] ====
1176 # Initial value is default
1177 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1178 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1179 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1180 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1181 # Valid values for variable
1182 SET @@global.replica_checkpoint_period=1;
1183 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1184 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1185 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1186 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1187 SET @@global.replica_checkpoint_period=2;
1188 include/assert.inc [@@global.replica_checkpoint_period should be 2]
1189 include/assert.inc [replica_checkpoint_period should be 2 in P_S.global_variables]
1190 include/assert.inc [@@global.slave_checkpoint_period should be 2]
1191 include/assert.inc [slave_checkpoint_period should be 2 in P_S.global_variables]
1192 SET @@global.replica_checkpoint_period=12323;
1193 include/assert.inc [@@global.replica_checkpoint_period should be 12323]
1194 include/assert.inc [replica_checkpoint_period should be 12323 in P_S.global_variables]
1195 include/assert.inc [@@global.slave_checkpoint_period should be 12323]
1196 include/assert.inc [slave_checkpoint_period should be 12323 in P_S.global_variables]
1197 # Setting default value for variable
1198 SET @@global.replica_checkpoint_period = DEFAULT;
1199 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1200 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1201 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1202 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1203 # Minimum value
1204 SET @@global.replica_checkpoint_period = 0;
1205 include/assert.inc [@@global.replica_checkpoint_period should be 0]
1206 include/assert.inc [replica_checkpoint_period should be 0 in P_S.global_variables]
1207 include/assert.inc [@@global.slave_checkpoint_period should be 0]
1208 include/assert.inc [slave_checkpoint_period should be 0 in P_S.global_variables]
1209 include/assert.inc [Expected min value should equal min value in performance_schema]
1210 # Less-than-minimum values
1211 SET @@global.replica_checkpoint_period = -1;
1212 Warnings:
1213 Warning 1292 Truncated incorrect replica_checkpoint_period value: '-1'
1214 include/assert.inc [@@global.replica_checkpoint_period should be 0]
1215 include/assert.inc [replica_checkpoint_period should be 0 in P_S.global_variables]
1216 include/assert.inc [@@global.slave_checkpoint_period should be 0]
1217 include/assert.inc [slave_checkpoint_period should be 0 in P_S.global_variables]
1218 # Maximum value
1219 SET @@global.replica_checkpoint_period = 4294967295;
1220 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1221 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1222 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1223 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1224 include/assert.inc [Expected max value should equal max value in performance_schema]
1225 # Greater-than-maximum values
1226 SET @@global.replica_checkpoint_period = 4294967296;
1227 Warnings:
1228 Warning 1292 Truncated incorrect replica_checkpoint_period value: '4294967296'
1229 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1230 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1231 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1232 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1233 # Invalid values
1234 SET @@global.replica_checkpoint_period = 1.5;
1235 Got one of the listed errors
1236 SET @@global.replica_checkpoint_period = ON;
1237 Got one of the listed errors
1238 SET @@global.replica_checkpoint_period = 'x';
1239 Got one of the listed errors
1240 SET @@global.replica_checkpoint_period = NULL;
1241 Got one of the listed errors
1242 # Restore default
1243 SET @@global.replica_checkpoint_period = DEFAULT;
1244 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1245 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1246 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1247 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1248 ==== Testing SET @@session.replica_checkpoint_period [invalid scope] ====
1249 SET @@session.replica_checkpoint_period = DEFAULT;
1250 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1251 SET @@replica_checkpoint_period = DEFAULT;
1252 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1253 SET @@session.replica_checkpoint_period = 1;
1254 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1255 SET @@replica_checkpoint_period = 1;
1256 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1257 SET @@session.replica_checkpoint_period = 2;
1258 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1259 SET @@replica_checkpoint_period = 2;
1260 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1261 SET @@session.replica_checkpoint_period = 12323;
1262 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1263 SET @@replica_checkpoint_period = 12323;
1264 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1265 SELECT @@session.replica_checkpoint_period;
1266 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable
1267 SELECT @@replica_checkpoint_period;
1268 @@replica_checkpoint_period
1269 300
1270 include/assert.inc [Variable replica_checkpoint_period should exist in performance_schema.session_variables]
1271 ==== Testing SET @@global.slave_checkpoint_period [allowed values, range, invalid values] ====
1272 # Initial value is default
1273 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1274 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1275 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1276 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1277 # Valid values for variable
1278 SET @@global.slave_checkpoint_period=1;
1279 Warnings:
1280 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1281 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1282 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1283 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1284 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1285 SET @@global.slave_checkpoint_period=2;
1286 Warnings:
1287 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1288 include/assert.inc [@@global.slave_checkpoint_period should be 2]
1289 include/assert.inc [slave_checkpoint_period should be 2 in P_S.global_variables]
1290 include/assert.inc [@@global.replica_checkpoint_period should be 2]
1291 include/assert.inc [replica_checkpoint_period should be 2 in P_S.global_variables]
1292 SET @@global.slave_checkpoint_period=12323;
1293 Warnings:
1294 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1295 include/assert.inc [@@global.slave_checkpoint_period should be 12323]
1296 include/assert.inc [slave_checkpoint_period should be 12323 in P_S.global_variables]
1297 include/assert.inc [@@global.replica_checkpoint_period should be 12323]
1298 include/assert.inc [replica_checkpoint_period should be 12323 in P_S.global_variables]
1299 # Setting default value for variable
1300 SET @@global.slave_checkpoint_period = DEFAULT;
1301 Warnings:
1302 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1303 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1304 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1305 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1306 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1307 # Minimum value
1308 SET @@global.slave_checkpoint_period = 0;
1309 Warnings:
1310 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1311 include/assert.inc [@@global.slave_checkpoint_period should be 0]
1312 include/assert.inc [slave_checkpoint_period should be 0 in P_S.global_variables]
1313 include/assert.inc [@@global.replica_checkpoint_period should be 0]
1314 include/assert.inc [replica_checkpoint_period should be 0 in P_S.global_variables]
1315 include/assert.inc [Expected min value should equal min value in performance_schema]
1316 # Less-than-minimum values
1317 SET @@global.slave_checkpoint_period = -1;
1318 Warnings:
1319 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1320 Warning 1292 Truncated incorrect replica_checkpoint_period value: '-1'
1321 include/assert.inc [@@global.slave_checkpoint_period should be 0]
1322 include/assert.inc [slave_checkpoint_period should be 0 in P_S.global_variables]
1323 include/assert.inc [@@global.replica_checkpoint_period should be 0]
1324 include/assert.inc [replica_checkpoint_period should be 0 in P_S.global_variables]
1325 # Maximum value
1326 SET @@global.slave_checkpoint_period = 4294967295;
1327 Warnings:
1328 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1329 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1330 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1331 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1332 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1333 include/assert.inc [Expected max value should equal max value in performance_schema]
1334 # Greater-than-maximum values
1335 SET @@global.slave_checkpoint_period = 4294967296;
1336 Warnings:
1337 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1338 Warning 1292 Truncated incorrect replica_checkpoint_period value: '4294967296'
1339 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1340 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1341 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1342 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1343 # Invalid values
1344 SET @@global.slave_checkpoint_period = 1.5;
1345 Got one of the listed errors
1346 SET @@global.slave_checkpoint_period = ON;
1347 Got one of the listed errors
1348 SET @@global.slave_checkpoint_period = 'x';
1349 Got one of the listed errors
1350 SET @@global.slave_checkpoint_period = NULL;
1351 Got one of the listed errors
1352 # Restore default
1353 SET @@global.slave_checkpoint_period = DEFAULT;
1354 Warnings:
1355 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1356 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1357 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1358 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1359 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1360 ==== Testing SET @@session.slave_checkpoint_period [invalid scope] ====
1361 SET @@session.slave_checkpoint_period = DEFAULT;
1362 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1363 SET @@slave_checkpoint_period = DEFAULT;
1364 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1365 SET @@session.slave_checkpoint_period = 1;
1366 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1367 SET @@slave_checkpoint_period = 1;
1368 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1369 SET @@session.slave_checkpoint_period = 2;
1370 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1371 SET @@slave_checkpoint_period = 2;
1372 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1373 SET @@session.slave_checkpoint_period = 12323;
1374 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1375 SET @@slave_checkpoint_period = 12323;
1376 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1377 SELECT @@session.slave_checkpoint_period;
1378 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable
1379 SELECT @@slave_checkpoint_period;
1380 @@slave_checkpoint_period
1381 300
1382 Warnings:
1383 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1384 include/assert.inc [Variable slave_checkpoint_period should exist in performance_schema.session_variables]
1385 sysvar:
1386 - name=replica_compressed_protocol
1387 - alias=slave_compressed_protocol
1388 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
1389 - global=1
1390 - session=0
1391 - cmdline=1
1392 - persist=1
1393 - persist_as_readonly=0
1394 - dynamic=1
1395 - min=
1396 - max=
1397 - block_size=1
1398 - default=0
1399 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
1400 ==== Testing SET @@global.replica_compressed_protocol [allowed values, range, invalid values] ====
1401 # Initial value is default
1402 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1403 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1404 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1405 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1406 # Valid values for variable
1407 SET @@global.replica_compressed_protocol=ON;
1408 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1409 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1410 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1411 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1412 SET @@global.replica_compressed_protocol=OFF;
1413 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1414 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1415 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1416 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1417 SET @@global.replica_compressed_protocol=1;
1418 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1419 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1420 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1421 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1422 SET @@global.replica_compressed_protocol=0;
1423 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1424 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1425 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1426 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1427 SET @@global.replica_compressed_protocol=TRUE;
1428 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1429 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1430 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1431 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1432 SET @@global.replica_compressed_protocol=FALSE;
1433 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1434 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1435 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1436 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1437 SET @@global.replica_compressed_protocol='ON';
1438 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1439 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1440 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1441 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1442 SET @@global.replica_compressed_protocol='OFF';
1443 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1444 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1445 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1446 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1447 # Setting default value for variable
1448 SET @@global.replica_compressed_protocol = DEFAULT;
1449 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1450 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1451 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1452 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1453 # Invalid values
1454 SET @@global.replica_compressed_protocol = 0.1;
1455 Got one of the listed errors
1456 SET @@global.replica_compressed_protocol = 2;
1457 Got one of the listed errors
1458 SET @@global.replica_compressed_protocol = -1;
1459 Got one of the listed errors
1460 SET @@global.replica_compressed_protocol = '';
1461 Got one of the listed errors
1462 SET @@global.replica_compressed_protocol = 'x';
1463 Got one of the listed errors
1464 SET @@global.replica_compressed_protocol = 'TRUE';
1465 Got one of the listed errors
1466 SET @@global.replica_compressed_protocol = '1';
1467 Got one of the listed errors
1468 SET @@global.replica_compressed_protocol = NULL;
1469 Got one of the listed errors
1470 # Restore default
1471 SET @@global.replica_compressed_protocol = DEFAULT;
1472 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1473 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1474 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1475 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1476 ==== Testing SET @@session.replica_compressed_protocol [invalid scope] ====
1477 SET @@session.replica_compressed_protocol = DEFAULT;
1478 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1479 SET @@replica_compressed_protocol = DEFAULT;
1480 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1481 SET @@session.replica_compressed_protocol = ON;
1482 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1483 SET @@replica_compressed_protocol = ON;
1484 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1485 SET @@session.replica_compressed_protocol = OFF;
1486 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1487 SET @@replica_compressed_protocol = OFF;
1488 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1489 SET @@session.replica_compressed_protocol = 1;
1490 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1491 SET @@replica_compressed_protocol = 1;
1492 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1493 SET @@session.replica_compressed_protocol = 0;
1494 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1495 SET @@replica_compressed_protocol = 0;
1496 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1497 SET @@session.replica_compressed_protocol = TRUE;
1498 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1499 SET @@replica_compressed_protocol = TRUE;
1500 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1501 SET @@session.replica_compressed_protocol = FALSE;
1502 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1503 SET @@replica_compressed_protocol = FALSE;
1504 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1505 SET @@session.replica_compressed_protocol = 'ON';
1506 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1507 SET @@replica_compressed_protocol = 'ON';
1508 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1509 SET @@session.replica_compressed_protocol = 'OFF';
1510 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1511 SET @@replica_compressed_protocol = 'OFF';
1512 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1513 SELECT @@session.replica_compressed_protocol;
1514 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable
1515 SELECT @@replica_compressed_protocol;
1516 @@replica_compressed_protocol
1517 0
1518 include/assert.inc [Variable replica_compressed_protocol should exist in performance_schema.session_variables]
1519 ==== Testing SET @@global.slave_compressed_protocol [allowed values, range, invalid values] ====
1520 # Initial value is default
1521 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1522 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1523 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1524 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1525 # Valid values for variable
1526 SET @@global.slave_compressed_protocol=ON;
1527 Warnings:
1528 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1529 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1530 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1531 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1532 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1533 SET @@global.slave_compressed_protocol=OFF;
1534 Warnings:
1535 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1536 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1537 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1538 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1539 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1540 SET @@global.slave_compressed_protocol=1;
1541 Warnings:
1542 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1543 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1544 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1545 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1546 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1547 SET @@global.slave_compressed_protocol=0;
1548 Warnings:
1549 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1550 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1551 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1552 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1553 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1554 SET @@global.slave_compressed_protocol=TRUE;
1555 Warnings:
1556 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1557 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1558 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1559 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1560 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1561 SET @@global.slave_compressed_protocol=FALSE;
1562 Warnings:
1563 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1564 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1565 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1566 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1567 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1568 SET @@global.slave_compressed_protocol='ON';
1569 Warnings:
1570 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1571 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1572 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1573 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1574 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1575 SET @@global.slave_compressed_protocol='OFF';
1576 Warnings:
1577 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1578 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1579 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1580 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1581 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1582 # Setting default value for variable
1583 SET @@global.slave_compressed_protocol = DEFAULT;
1584 Warnings:
1585 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1586 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1587 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1588 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1589 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1590 # Invalid values
1591 SET @@global.slave_compressed_protocol = 0.1;
1592 Got one of the listed errors
1593 SET @@global.slave_compressed_protocol = 2;
1594 Got one of the listed errors
1595 SET @@global.slave_compressed_protocol = -1;
1596 Got one of the listed errors
1597 SET @@global.slave_compressed_protocol = '';
1598 Got one of the listed errors
1599 SET @@global.slave_compressed_protocol = 'x';
1600 Got one of the listed errors
1601 SET @@global.slave_compressed_protocol = 'TRUE';
1602 Got one of the listed errors
1603 SET @@global.slave_compressed_protocol = '1';
1604 Got one of the listed errors
1605 SET @@global.slave_compressed_protocol = NULL;
1606 Got one of the listed errors
1607 # Restore default
1608 SET @@global.slave_compressed_protocol = DEFAULT;
1609 Warnings:
1610 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1611 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1612 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1613 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1614 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1615 ==== Testing SET @@session.slave_compressed_protocol [invalid scope] ====
1616 SET @@session.slave_compressed_protocol = DEFAULT;
1617 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1618 SET @@slave_compressed_protocol = DEFAULT;
1619 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1620 SET @@session.slave_compressed_protocol = ON;
1621 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1622 SET @@slave_compressed_protocol = ON;
1623 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1624 SET @@session.slave_compressed_protocol = OFF;
1625 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1626 SET @@slave_compressed_protocol = OFF;
1627 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1628 SET @@session.slave_compressed_protocol = 1;
1629 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1630 SET @@slave_compressed_protocol = 1;
1631 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1632 SET @@session.slave_compressed_protocol = 0;
1633 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1634 SET @@slave_compressed_protocol = 0;
1635 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1636 SET @@session.slave_compressed_protocol = TRUE;
1637 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1638 SET @@slave_compressed_protocol = TRUE;
1639 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1640 SET @@session.slave_compressed_protocol = FALSE;
1641 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1642 SET @@slave_compressed_protocol = FALSE;
1643 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1644 SET @@session.slave_compressed_protocol = 'ON';
1645 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1646 SET @@slave_compressed_protocol = 'ON';
1647 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1648 SET @@session.slave_compressed_protocol = 'OFF';
1649 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1650 SET @@slave_compressed_protocol = 'OFF';
1651 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1652 SELECT @@session.slave_compressed_protocol;
1653 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable
1654 SELECT @@slave_compressed_protocol;
1655 @@slave_compressed_protocol
1656 0
1657 Warnings:
1658 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1659 include/assert.inc [Variable slave_compressed_protocol should exist in performance_schema.session_variables]
1660 sysvar:
1661 - name=replica_exec_mode
1662 - alias=slave_exec_mode
1663 - invalid=[1.5, "ON", "'x'", "NULL", "'FOO_BAR'", -1, 2]
1664 - global=1
1665 - session=0
1666 - cmdline=1
1667 - persist=1
1668 - persist_as_readonly=0
1669 - dynamic=1
1670 - min=
1671 - max=
1672 - block_size=1
1673 - default=STRICT
1674 - values=["IDEMPOTENT", "STRICT", "'IDEMPOTENT'", 0, 1]
1675 ==== Testing SET @@global.replica_exec_mode [allowed values, range, invalid values] ====
1676 # Initial value is default
1677 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1678 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1679 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1680 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1681 # Valid values for variable
1682 SET @@global.replica_exec_mode=IDEMPOTENT;
1683 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1684 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1685 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1686 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1687 SET @@global.replica_exec_mode=STRICT;
1688 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1689 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1690 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1691 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1692 SET @@global.replica_exec_mode='IDEMPOTENT';
1693 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1694 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1695 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1696 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1697 SET @@global.replica_exec_mode=0;
1698 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1699 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1700 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1701 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1702 SET @@global.replica_exec_mode=1;
1703 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1704 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1705 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1706 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1707 # Setting default value for variable
1708 SET @@global.replica_exec_mode = DEFAULT;
1709 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1710 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1711 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1712 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1713 # Invalid values
1714 SET @@global.replica_exec_mode = 1.5;
1715 Got one of the listed errors
1716 SET @@global.replica_exec_mode = ON;
1717 Got one of the listed errors
1718 SET @@global.replica_exec_mode = 'x';
1719 Got one of the listed errors
1720 SET @@global.replica_exec_mode = NULL;
1721 Got one of the listed errors
1722 SET @@global.replica_exec_mode = 'FOO_BAR';
1723 Got one of the listed errors
1724 SET @@global.replica_exec_mode = -1;
1725 Got one of the listed errors
1726 SET @@global.replica_exec_mode = 2;
1727 Got one of the listed errors
1728 # Restore default
1729 SET @@global.replica_exec_mode = DEFAULT;
1730 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1731 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1732 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1733 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1734 ==== Testing SET @@session.replica_exec_mode [invalid scope] ====
1735 SET @@session.replica_exec_mode = DEFAULT;
1736 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1737 SET @@replica_exec_mode = DEFAULT;
1738 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1739 SET @@session.replica_exec_mode = IDEMPOTENT;
1740 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1741 SET @@replica_exec_mode = IDEMPOTENT;
1742 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1743 SET @@session.replica_exec_mode = STRICT;
1744 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1745 SET @@replica_exec_mode = STRICT;
1746 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1747 SET @@session.replica_exec_mode = 'IDEMPOTENT';
1748 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1749 SET @@replica_exec_mode = 'IDEMPOTENT';
1750 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1751 SET @@session.replica_exec_mode = 0;
1752 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1753 SET @@replica_exec_mode = 0;
1754 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1755 SET @@session.replica_exec_mode = 1;
1756 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1757 SET @@replica_exec_mode = 1;
1758 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1759 SELECT @@session.replica_exec_mode;
1760 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable
1761 SELECT @@replica_exec_mode;
1762 @@replica_exec_mode
1763 STRICT
1764 include/assert.inc [Variable replica_exec_mode should exist in performance_schema.session_variables]
1765 ==== Testing SET @@global.slave_exec_mode [allowed values, range, invalid values] ====
1766 # Initial value is default
1767 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1768 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1769 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1770 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1771 # Valid values for variable
1772 SET @@global.slave_exec_mode=IDEMPOTENT;
1773 Warnings:
1774 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1775 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1776 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1777 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1778 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1779 SET @@global.slave_exec_mode=STRICT;
1780 Warnings:
1781 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1782 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1783 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1784 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1785 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1786 SET @@global.slave_exec_mode='IDEMPOTENT';
1787 Warnings:
1788 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1789 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1790 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1791 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1792 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1793 SET @@global.slave_exec_mode=0;
1794 Warnings:
1795 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1796 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1797 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1798 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1799 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1800 SET @@global.slave_exec_mode=1;
1801 Warnings:
1802 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1803 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1804 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1805 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1806 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1807 # Setting default value for variable
1808 SET @@global.slave_exec_mode = DEFAULT;
1809 Warnings:
1810 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1811 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1812 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1813 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1814 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1815 # Invalid values
1816 SET @@global.slave_exec_mode = 1.5;
1817 Got one of the listed errors
1818 SET @@global.slave_exec_mode = ON;
1819 Got one of the listed errors
1820 SET @@global.slave_exec_mode = 'x';
1821 Got one of the listed errors
1822 SET @@global.slave_exec_mode = NULL;
1823 Got one of the listed errors
1824 SET @@global.slave_exec_mode = 'FOO_BAR';
1825 Got one of the listed errors
1826 SET @@global.slave_exec_mode = -1;
1827 Got one of the listed errors
1828 SET @@global.slave_exec_mode = 2;
1829 Got one of the listed errors
1830 # Restore default
1831 SET @@global.slave_exec_mode = DEFAULT;
1832 Warnings:
1833 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1834 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1835 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1836 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1837 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1838 ==== Testing SET @@session.slave_exec_mode [invalid scope] ====
1839 SET @@session.slave_exec_mode = DEFAULT;
1840 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1841 SET @@slave_exec_mode = DEFAULT;
1842 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1843 SET @@session.slave_exec_mode = IDEMPOTENT;
1844 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1845 SET @@slave_exec_mode = IDEMPOTENT;
1846 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1847 SET @@session.slave_exec_mode = STRICT;
1848 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1849 SET @@slave_exec_mode = STRICT;
1850 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1851 SET @@session.slave_exec_mode = 'IDEMPOTENT';
1852 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1853 SET @@slave_exec_mode = 'IDEMPOTENT';
1854 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1855 SET @@session.slave_exec_mode = 0;
1856 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1857 SET @@slave_exec_mode = 0;
1858 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1859 SET @@session.slave_exec_mode = 1;
1860 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1861 SET @@slave_exec_mode = 1;
1862 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1863 SELECT @@session.slave_exec_mode;
1864 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable
1865 SELECT @@slave_exec_mode;
1866 @@slave_exec_mode
1867 STRICT
1868 Warnings:
1869 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1870 include/assert.inc [Variable slave_exec_mode should exist in performance_schema.session_variables]
1871 sysvar:
1872 - name=replica_load_tmpdir
1873 - alias=slave_load_tmpdir
1874 - invalid=["NULL", "ON"]
1875 - global=1
1876 - session=0
1877 - cmdline=1
1878 - persist=0
1879 - persist_as_readonly=0
1880 - dynamic=0
1881 - min=
1882 - max=
1883 - block_size=1
1884 - default=MASKED
1885 - values=MASKED
1886 ==== Testing SET @@global.replica_load_tmpdir [read-only] ====
1887 # Initial value is default
1888 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1889 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1890 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1891 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1892 # Valid values for *read-only* variable cannot be set
1893 SET @@global.replica_load_tmpdir = VALUE;
1894 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1895 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1896 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1897 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1898 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1899 SET @@global.replica_load_tmpdir = VALUE;
1900 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1901 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1902 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1903 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1904 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1905 SET @@global.replica_load_tmpdir = VALUE;
1906 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1907 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1908 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1909 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1910 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1911 # Setting default value for variable
1912 SET @@global.replica_load_tmpdir = DEFAULT;
1913 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1914 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1915 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1916 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1917 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1918 ==== Testing SET @@session.replica_load_tmpdir [invalid scope] ====
1919 SET @@session.replica_load_tmpdir = DEFAULT;
1920 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1921 SET @@replica_load_tmpdir = DEFAULT;
1922 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1923 SET @@session.replica_load_tmpdir = VALUE;
1924 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1925 SET @@replica_load_tmpdir = VALUE;
1926 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1927 SET @@session.replica_load_tmpdir = VALUE;
1928 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1929 SET @@replica_load_tmpdir = VALUE;
1930 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1931 SET @@session.replica_load_tmpdir = VALUE;
1932 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1933 SET @@replica_load_tmpdir = VALUE;
1934 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1935 SELECT @@session.replica_load_tmpdir;
1936 ERROR HY000: Variable 'replica_load_tmpdir' is a GLOBAL variable
1937 SELECT @@replica_load_tmpdir;
1938 include/assert.inc [Variable replica_load_tmpdir should exist in performance_schema.session_variables]
1939 ==== Testing SET @@global.slave_load_tmpdir [read-only] ====
1940 # Initial value is default
1941 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1942 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1943 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1944 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1945 # Valid values for *read-only* variable cannot be set
1946 SET @@global.slave_load_tmpdir = VALUE;
1947 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1948 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1949 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1950 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1951 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1952 SET @@global.slave_load_tmpdir = VALUE;
1953 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1954 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1955 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1956 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1957 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1958 SET @@global.slave_load_tmpdir = VALUE;
1959 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1960 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1961 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1962 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1963 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1964 # Setting default value for variable
1965 SET @@global.slave_load_tmpdir = DEFAULT;
1966 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1967 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1968 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1969 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1970 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1971 ==== Testing SET @@session.slave_load_tmpdir [invalid scope] ====
1972 SET @@session.slave_load_tmpdir = DEFAULT;
1973 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1974 SET @@slave_load_tmpdir = DEFAULT;
1975 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1976 SET @@session.slave_load_tmpdir = VALUE;
1977 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1978 SET @@slave_load_tmpdir = VALUE;
1979 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1980 SET @@session.slave_load_tmpdir = VALUE;
1981 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1982 SET @@slave_load_tmpdir = VALUE;
1983 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1984 SET @@session.slave_load_tmpdir = VALUE;
1985 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1986 SET @@slave_load_tmpdir = VALUE;
1987 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1988 SELECT @@session.slave_load_tmpdir;
1989 ERROR HY000: Variable 'slave_load_tmpdir' is a GLOBAL variable
1990 SELECT @@slave_load_tmpdir;
1991 include/assert.inc [Variable slave_load_tmpdir should exist in performance_schema.session_variables]
1992 sysvar:
1993 - name=replica_max_allowed_packet
1994 - alias=slave_max_allowed_packet
1995 - invalid=[1.5, "ON", "'x'", "NULL"]
1996 - global=1
1997 - session=0
1998 - cmdline=1
1999 - persist=1
2000 - persist_as_readonly=0
2001 - dynamic=1
2002 - min=1024
2003 - max=1073741824
2004 - block_size=1024
2005 - default=1073741824
2006 - values=[1024, 2048, 65536]
2007 ==== Testing SET @@global.replica_max_allowed_packet [allowed values, range, invalid values] ====
2008 # Initial value is default
2009 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2010 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2011 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2012 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2013 # Valid values for variable
2014 SET @@global.replica_max_allowed_packet=1024;
2015 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2016 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2017 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2018 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2019 SET @@global.replica_max_allowed_packet=2048;
2020 include/assert.inc [@@global.replica_max_allowed_packet should be 2048]
2021 include/assert.inc [replica_max_allowed_packet should be 2048 in P_S.global_variables]
2022 include/assert.inc [@@global.slave_max_allowed_packet should be 2048]
2023 include/assert.inc [slave_max_allowed_packet should be 2048 in P_S.global_variables]
2024 SET @@global.replica_max_allowed_packet=65536;
2025 include/assert.inc [@@global.replica_max_allowed_packet should be 65536]
2026 include/assert.inc [replica_max_allowed_packet should be 65536 in P_S.global_variables]
2027 include/assert.inc [@@global.slave_max_allowed_packet should be 65536]
2028 include/assert.inc [slave_max_allowed_packet should be 65536 in P_S.global_variables]
2029 # Setting default value for variable
2030 SET @@global.replica_max_allowed_packet = DEFAULT;
2031 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2032 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2033 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2034 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2035 # Minimum value
2036 SET @@global.replica_max_allowed_packet = 1024;
2037 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2038 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2039 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2040 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2041 include/assert.inc [Expected min value should equal min value in performance_schema]
2042 # Less-than-minimum values
2043 SET @@global.replica_max_allowed_packet = 1023;
2044 Warnings:
2045 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1023'
2046 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2047 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2048 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2049 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2050 SET @@global.replica_max_allowed_packet = 0;
2051 Warnings:
2052 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '0'
2053 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2054 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2055 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2056 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2057 # Maximum value
2058 SET @@global.replica_max_allowed_packet = 1073741824;
2059 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2060 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2061 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2062 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2063 include/assert.inc [Expected max value should equal max value in performance_schema]
2064 # Greater-than-maximum values
2065 SET @@global.replica_max_allowed_packet = 1073741825;
2066 Warnings:
2067 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073741825'
2068 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2069 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2070 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2071 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2072 SET @@global.replica_max_allowed_packet = 1073742848;
2073 Warnings:
2074 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742848'
2075 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2076 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2077 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2078 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2079 # Non-block-size value
2080 SET @@global.replica_max_allowed_packet = 1073742847;
2081 Warnings:
2082 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742847'
2083 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2084 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2085 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2086 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2087 # Invalid values
2088 SET @@global.replica_max_allowed_packet = 1.5;
2089 Got one of the listed errors
2090 SET @@global.replica_max_allowed_packet = ON;
2091 Got one of the listed errors
2092 SET @@global.replica_max_allowed_packet = 'x';
2093 Got one of the listed errors
2094 SET @@global.replica_max_allowed_packet = NULL;
2095 Got one of the listed errors
2096 # Restore default
2097 SET @@global.replica_max_allowed_packet = DEFAULT;
2098 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2099 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2100 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2101 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2102 ==== Testing SET @@session.replica_max_allowed_packet [invalid scope] ====
2103 SET @@session.replica_max_allowed_packet = DEFAULT;
2104 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2105 SET @@replica_max_allowed_packet = DEFAULT;
2106 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2107 SET @@session.replica_max_allowed_packet = 1024;
2108 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2109 SET @@replica_max_allowed_packet = 1024;
2110 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2111 SET @@session.replica_max_allowed_packet = 2048;
2112 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2113 SET @@replica_max_allowed_packet = 2048;
2114 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2115 SET @@session.replica_max_allowed_packet = 65536;
2116 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2117 SET @@replica_max_allowed_packet = 65536;
2118 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2119 SELECT @@session.replica_max_allowed_packet;
2120 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable
2121 SELECT @@replica_max_allowed_packet;
2122 @@replica_max_allowed_packet
2123 1073741824
2124 include/assert.inc [Variable replica_max_allowed_packet should exist in performance_schema.session_variables]
2125 ==== Testing SET @@global.slave_max_allowed_packet [allowed values, range, invalid values] ====
2126 # Initial value is default
2127 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2128 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2129 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2130 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2131 # Valid values for variable
2132 SET @@global.slave_max_allowed_packet=1024;
2133 Warnings:
2134 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2135 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2136 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2137 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2138 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2139 SET @@global.slave_max_allowed_packet=2048;
2140 Warnings:
2141 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2142 include/assert.inc [@@global.slave_max_allowed_packet should be 2048]
2143 include/assert.inc [slave_max_allowed_packet should be 2048 in P_S.global_variables]
2144 include/assert.inc [@@global.replica_max_allowed_packet should be 2048]
2145 include/assert.inc [replica_max_allowed_packet should be 2048 in P_S.global_variables]
2146 SET @@global.slave_max_allowed_packet=65536;
2147 Warnings:
2148 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2149 include/assert.inc [@@global.slave_max_allowed_packet should be 65536]
2150 include/assert.inc [slave_max_allowed_packet should be 65536 in P_S.global_variables]
2151 include/assert.inc [@@global.replica_max_allowed_packet should be 65536]
2152 include/assert.inc [replica_max_allowed_packet should be 65536 in P_S.global_variables]
2153 # Setting default value for variable
2154 SET @@global.slave_max_allowed_packet = DEFAULT;
2155 Warnings:
2156 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2157 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2158 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2159 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2160 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2161 # Minimum value
2162 SET @@global.slave_max_allowed_packet = 1024;
2163 Warnings:
2164 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2165 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2166 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2167 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2168 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2169 include/assert.inc [Expected min value should equal min value in performance_schema]
2170 # Less-than-minimum values
2171 SET @@global.slave_max_allowed_packet = 1023;
2172 Warnings:
2173 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2174 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1023'
2175 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2176 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2177 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2178 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2179 SET @@global.slave_max_allowed_packet = 0;
2180 Warnings:
2181 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2182 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '0'
2183 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2184 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2185 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2186 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2187 # Maximum value
2188 SET @@global.slave_max_allowed_packet = 1073741824;
2189 Warnings:
2190 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2191 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2192 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2193 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2194 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2195 include/assert.inc [Expected max value should equal max value in performance_schema]
2196 # Greater-than-maximum values
2197 SET @@global.slave_max_allowed_packet = 1073741825;
2198 Warnings:
2199 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2200 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073741825'
2201 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2202 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2203 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2204 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2205 SET @@global.slave_max_allowed_packet = 1073742848;
2206 Warnings:
2207 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2208 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742848'
2209 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2210 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2211 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2212 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2213 # Non-block-size value
2214 SET @@global.slave_max_allowed_packet = 1073742847;
2215 Warnings:
2216 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2217 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742847'
2218 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2219 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2220 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2221 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2222 # Invalid values
2223 SET @@global.slave_max_allowed_packet = 1.5;
2224 Got one of the listed errors
2225 SET @@global.slave_max_allowed_packet = ON;
2226 Got one of the listed errors
2227 SET @@global.slave_max_allowed_packet = 'x';
2228 Got one of the listed errors
2229 SET @@global.slave_max_allowed_packet = NULL;
2230 Got one of the listed errors
2231 # Restore default
2232 SET @@global.slave_max_allowed_packet = DEFAULT;
2233 Warnings:
2234 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2235 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2236 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2237 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2238 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2239 ==== Testing SET @@session.slave_max_allowed_packet [invalid scope] ====
2240 SET @@session.slave_max_allowed_packet = DEFAULT;
2241 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2242 SET @@slave_max_allowed_packet = DEFAULT;
2243 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2244 SET @@session.slave_max_allowed_packet = 1024;
2245 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2246 SET @@slave_max_allowed_packet = 1024;
2247 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2248 SET @@session.slave_max_allowed_packet = 2048;
2249 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2250 SET @@slave_max_allowed_packet = 2048;
2251 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2252 SET @@session.slave_max_allowed_packet = 65536;
2253 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2254 SET @@slave_max_allowed_packet = 65536;
2255 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2256 SELECT @@session.slave_max_allowed_packet;
2257 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable
2258 SELECT @@slave_max_allowed_packet;
2259 @@slave_max_allowed_packet
2260 1073741824
2261 Warnings:
2262 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2263 include/assert.inc [Variable slave_max_allowed_packet should exist in performance_schema.session_variables]
2264 sysvar:
2265 - name=replica_net_timeout
2266 - alias=slave_net_timeout
2267 - invalid=[1.5, "ON", "'x'", "NULL"]
2268 - global=1
2269 - session=0
2270 - cmdline=1
2271 - persist=1
2272 - persist_as_readonly=0
2273 - dynamic=1
2274 - min=1
2275 - max=31536000
2276 - block_size=1
2277 - default=60
2278 - values=[1, 2, 65536]
2279 ==== Testing SET @@global.replica_net_timeout [allowed values, range, invalid values] ====
2280 # Initial value is default
2281 include/assert.inc [@@global.replica_net_timeout should be 60]
2282 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2283 include/assert.inc [@@global.slave_net_timeout should be 60]
2284 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2285 # Valid values for variable
2286 SET @@global.replica_net_timeout=1;
2287 include/assert.inc [@@global.replica_net_timeout should be 1]
2288 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2289 include/assert.inc [@@global.slave_net_timeout should be 1]
2290 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2291 SET @@global.replica_net_timeout=2;
2292 include/assert.inc [@@global.replica_net_timeout should be 2]
2293 include/assert.inc [replica_net_timeout should be 2 in P_S.global_variables]
2294 include/assert.inc [@@global.slave_net_timeout should be 2]
2295 include/assert.inc [slave_net_timeout should be 2 in P_S.global_variables]
2296 SET @@global.replica_net_timeout=65536;
2297 include/assert.inc [@@global.replica_net_timeout should be 65536]
2298 include/assert.inc [replica_net_timeout should be 65536 in P_S.global_variables]
2299 include/assert.inc [@@global.slave_net_timeout should be 65536]
2300 include/assert.inc [slave_net_timeout should be 65536 in P_S.global_variables]
2301 # Setting default value for variable
2302 SET @@global.replica_net_timeout = DEFAULT;
2303 include/assert.inc [@@global.replica_net_timeout should be 60]
2304 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2305 include/assert.inc [@@global.slave_net_timeout should be 60]
2306 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2307 # Minimum value
2308 SET @@global.replica_net_timeout = 1;
2309 include/assert.inc [@@global.replica_net_timeout should be 1]
2310 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2311 include/assert.inc [@@global.slave_net_timeout should be 1]
2312 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2313 include/assert.inc [Expected min value should equal min value in performance_schema]
2314 # Less-than-minimum values
2315 SET @@global.replica_net_timeout = 0;
2316 Warnings:
2317 Warning 1292 Truncated incorrect replica_net_timeout value: '0'
2318 include/assert.inc [@@global.replica_net_timeout should be 1]
2319 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2320 include/assert.inc [@@global.slave_net_timeout should be 1]
2321 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2322 # Maximum value
2323 SET @@global.replica_net_timeout = 31536000;
2324 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2325 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2326 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2327 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2328 include/assert.inc [Expected max value should equal max value in performance_schema]
2329 # Greater-than-maximum values
2330 SET @@global.replica_net_timeout = 31536001;
2331 Warnings:
2332 Warning 1292 Truncated incorrect replica_net_timeout value: '31536001'
2333 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2334 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2335 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2336 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2337 # Invalid values
2338 SET @@global.replica_net_timeout = 1.5;
2339 Got one of the listed errors
2340 SET @@global.replica_net_timeout = ON;
2341 Got one of the listed errors
2342 SET @@global.replica_net_timeout = 'x';
2343 Got one of the listed errors
2344 SET @@global.replica_net_timeout = NULL;
2345 Got one of the listed errors
2346 # Restore default
2347 SET @@global.replica_net_timeout = DEFAULT;
2348 include/assert.inc [@@global.replica_net_timeout should be 60]
2349 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2350 include/assert.inc [@@global.slave_net_timeout should be 60]
2351 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2352 ==== Testing SET @@session.replica_net_timeout [invalid scope] ====
2353 SET @@session.replica_net_timeout = DEFAULT;
2354 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2355 SET @@replica_net_timeout = DEFAULT;
2356 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2357 SET @@session.replica_net_timeout = 1;
2358 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2359 SET @@replica_net_timeout = 1;
2360 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2361 SET @@session.replica_net_timeout = 2;
2362 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2363 SET @@replica_net_timeout = 2;
2364 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2365 SET @@session.replica_net_timeout = 65536;
2366 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2367 SET @@replica_net_timeout = 65536;
2368 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2369 SELECT @@session.replica_net_timeout;
2370 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable
2371 SELECT @@replica_net_timeout;
2372 @@replica_net_timeout
2373 60
2374 include/assert.inc [Variable replica_net_timeout should exist in performance_schema.session_variables]
2375 ==== Testing SET @@global.slave_net_timeout [allowed values, range, invalid values] ====
2376 # Initial value is default
2377 include/assert.inc [@@global.slave_net_timeout should be 60]
2378 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2379 include/assert.inc [@@global.replica_net_timeout should be 60]
2380 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2381 # Valid values for variable
2382 SET @@global.slave_net_timeout=1;
2383 Warnings:
2384 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2385 include/assert.inc [@@global.slave_net_timeout should be 1]
2386 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2387 include/assert.inc [@@global.replica_net_timeout should be 1]
2388 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2389 SET @@global.slave_net_timeout=2;
2390 Warnings:
2391 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2392 include/assert.inc [@@global.slave_net_timeout should be 2]
2393 include/assert.inc [slave_net_timeout should be 2 in P_S.global_variables]
2394 include/assert.inc [@@global.replica_net_timeout should be 2]
2395 include/assert.inc [replica_net_timeout should be 2 in P_S.global_variables]
2396 SET @@global.slave_net_timeout=65536;
2397 Warnings:
2398 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2399 include/assert.inc [@@global.slave_net_timeout should be 65536]
2400 include/assert.inc [slave_net_timeout should be 65536 in P_S.global_variables]
2401 include/assert.inc [@@global.replica_net_timeout should be 65536]
2402 include/assert.inc [replica_net_timeout should be 65536 in P_S.global_variables]
2403 # Setting default value for variable
2404 SET @@global.slave_net_timeout = DEFAULT;
2405 Warnings:
2406 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2407 include/assert.inc [@@global.slave_net_timeout should be 60]
2408 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2409 include/assert.inc [@@global.replica_net_timeout should be 60]
2410 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2411 # Minimum value
2412 SET @@global.slave_net_timeout = 1;
2413 Warnings:
2414 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2415 include/assert.inc [@@global.slave_net_timeout should be 1]
2416 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2417 include/assert.inc [@@global.replica_net_timeout should be 1]
2418 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2419 include/assert.inc [Expected min value should equal min value in performance_schema]
2420 # Less-than-minimum values
2421 SET @@global.slave_net_timeout = 0;
2422 Warnings:
2423 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2424 Warning 1292 Truncated incorrect replica_net_timeout value: '0'
2425 include/assert.inc [@@global.slave_net_timeout should be 1]
2426 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2427 include/assert.inc [@@global.replica_net_timeout should be 1]
2428 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2429 # Maximum value
2430 SET @@global.slave_net_timeout = 31536000;
2431 Warnings:
2432 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2433 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2434 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2435 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2436 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2437 include/assert.inc [Expected max value should equal max value in performance_schema]
2438 # Greater-than-maximum values
2439 SET @@global.slave_net_timeout = 31536001;
2440 Warnings:
2441 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2442 Warning 1292 Truncated incorrect replica_net_timeout value: '31536001'
2443 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2444 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2445 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2446 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2447 # Invalid values
2448 SET @@global.slave_net_timeout = 1.5;
2449 Got one of the listed errors
2450 SET @@global.slave_net_timeout = ON;
2451 Got one of the listed errors
2452 SET @@global.slave_net_timeout = 'x';
2453 Got one of the listed errors
2454 SET @@global.slave_net_timeout = NULL;
2455 Got one of the listed errors
2456 # Restore default
2457 SET @@global.slave_net_timeout = DEFAULT;
2458 Warnings:
2459 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2460 include/assert.inc [@@global.slave_net_timeout should be 60]
2461 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2462 include/assert.inc [@@global.replica_net_timeout should be 60]
2463 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2464 ==== Testing SET @@session.slave_net_timeout [invalid scope] ====
2465 SET @@session.slave_net_timeout = DEFAULT;
2466 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2467 SET @@slave_net_timeout = DEFAULT;
2468 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2469 SET @@session.slave_net_timeout = 1;
2470 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2471 SET @@slave_net_timeout = 1;
2472 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2473 SET @@session.slave_net_timeout = 2;
2474 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2475 SET @@slave_net_timeout = 2;
2476 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2477 SET @@session.slave_net_timeout = 65536;
2478 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2479 SET @@slave_net_timeout = 65536;
2480 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2481 SELECT @@session.slave_net_timeout;
2482 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable
2483 SELECT @@slave_net_timeout;
2484 @@slave_net_timeout
2485 60
2486 Warnings:
2487 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2488 include/assert.inc [Variable slave_net_timeout should exist in performance_schema.session_variables]
2489 sysvar:
2490 - name=replica_parallel_workers
2491 - alias=slave_parallel_workers
2492 - invalid=[1.5, "ON", "'x'", "NULL"]
2493 - global=1
2494 - session=0
2495 - cmdline=1
2496 - persist=1
2497 - persist_as_readonly=1
2498 - dynamic=1
2499 - min=
2500 - max=1024
2501 - block_size=1
2502 - default=4
2503 - values=[1, 2, 100]
2504 ==== Testing SET @@global.replica_parallel_workers [allowed values, range, invalid values] ====
2505 # Initial value is default
2506 include/assert.inc [@@global.replica_parallel_workers should be 4]
2507 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2508 include/assert.inc [@@global.slave_parallel_workers should be 4]
2509 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2510 # Valid values for variable
2511 SET @@global.replica_parallel_workers=1;
2512 include/assert.inc [@@global.replica_parallel_workers should be 1]
2513 include/assert.inc [replica_parallel_workers should be 1 in P_S.global_variables]
2514 include/assert.inc [@@global.slave_parallel_workers should be 1]
2515 include/assert.inc [slave_parallel_workers should be 1 in P_S.global_variables]
2516 SET @@global.replica_parallel_workers=2;
2517 include/assert.inc [@@global.replica_parallel_workers should be 2]
2518 include/assert.inc [replica_parallel_workers should be 2 in P_S.global_variables]
2519 include/assert.inc [@@global.slave_parallel_workers should be 2]
2520 include/assert.inc [slave_parallel_workers should be 2 in P_S.global_variables]
2521 SET @@global.replica_parallel_workers=100;
2522 include/assert.inc [@@global.replica_parallel_workers should be 100]
2523 include/assert.inc [replica_parallel_workers should be 100 in P_S.global_variables]
2524 include/assert.inc [@@global.slave_parallel_workers should be 100]
2525 include/assert.inc [slave_parallel_workers should be 100 in P_S.global_variables]
2526 # Setting default value for variable
2527 SET @@global.replica_parallel_workers = DEFAULT;
2528 include/assert.inc [@@global.replica_parallel_workers should be 4]
2529 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2530 include/assert.inc [@@global.slave_parallel_workers should be 4]
2531 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2532 # Maximum value
2533 SET @@global.replica_parallel_workers = 1024;
2534 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2535 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2536 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2537 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2538 include/assert.inc [Expected max value should equal max value in performance_schema]
2539 # Greater-than-maximum values
2540 SET @@global.replica_parallel_workers = 1025;
2541 Warnings:
2542 Warning 1292 Truncated incorrect replica_parallel_workers value: '1025'
2543 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2544 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2545 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2546 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2547 # Invalid values
2548 SET @@global.replica_parallel_workers = 1.5;
2549 Got one of the listed errors
2550 SET @@global.replica_parallel_workers = ON;
2551 Got one of the listed errors
2552 SET @@global.replica_parallel_workers = 'x';
2553 Got one of the listed errors
2554 SET @@global.replica_parallel_workers = NULL;
2555 Got one of the listed errors
2556 # Restore default
2557 SET @@global.replica_parallel_workers = DEFAULT;
2558 include/assert.inc [@@global.replica_parallel_workers should be 4]
2559 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2560 include/assert.inc [@@global.slave_parallel_workers should be 4]
2561 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2562 ==== Testing SET @@session.replica_parallel_workers [invalid scope] ====
2563 SET @@session.replica_parallel_workers = DEFAULT;
2564 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2565 SET @@replica_parallel_workers = DEFAULT;
2566 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2567 SET @@session.replica_parallel_workers = 1;
2568 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2569 SET @@replica_parallel_workers = 1;
2570 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2571 SET @@session.replica_parallel_workers = 2;
2572 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2573 SET @@replica_parallel_workers = 2;
2574 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2575 SET @@session.replica_parallel_workers = 100;
2576 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2577 SET @@replica_parallel_workers = 100;
2578 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2579 SELECT @@session.replica_parallel_workers;
2580 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable
2581 SELECT @@replica_parallel_workers;
2582 @@replica_parallel_workers
2583 4
2584 include/assert.inc [Variable replica_parallel_workers should exist in performance_schema.session_variables]
2585 ==== Testing SET @@global.slave_parallel_workers [allowed values, range, invalid values] ====
2586 # Initial value is default
2587 include/assert.inc [@@global.slave_parallel_workers should be 4]
2588 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2589 include/assert.inc [@@global.replica_parallel_workers should be 4]
2590 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2591 # Valid values for variable
2592 SET @@global.slave_parallel_workers=1;
2593 Warnings:
2594 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2595 include/assert.inc [@@global.slave_parallel_workers should be 1]
2596 include/assert.inc [slave_parallel_workers should be 1 in P_S.global_variables]
2597 include/assert.inc [@@global.replica_parallel_workers should be 1]
2598 include/assert.inc [replica_parallel_workers should be 1 in P_S.global_variables]
2599 SET @@global.slave_parallel_workers=2;
2600 Warnings:
2601 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2602 include/assert.inc [@@global.slave_parallel_workers should be 2]
2603 include/assert.inc [slave_parallel_workers should be 2 in P_S.global_variables]
2604 include/assert.inc [@@global.replica_parallel_workers should be 2]
2605 include/assert.inc [replica_parallel_workers should be 2 in P_S.global_variables]
2606 SET @@global.slave_parallel_workers=100;
2607 Warnings:
2608 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2609 include/assert.inc [@@global.slave_parallel_workers should be 100]
2610 include/assert.inc [slave_parallel_workers should be 100 in P_S.global_variables]
2611 include/assert.inc [@@global.replica_parallel_workers should be 100]
2612 include/assert.inc [replica_parallel_workers should be 100 in P_S.global_variables]
2613 # Setting default value for variable
2614 SET @@global.slave_parallel_workers = DEFAULT;
2615 Warnings:
2616 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2617 include/assert.inc [@@global.slave_parallel_workers should be 4]
2618 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2619 include/assert.inc [@@global.replica_parallel_workers should be 4]
2620 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2621 # Maximum value
2622 SET @@global.slave_parallel_workers = 1024;
2623 Warnings:
2624 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2625 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2626 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2627 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2628 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2629 include/assert.inc [Expected max value should equal max value in performance_schema]
2630 # Greater-than-maximum values
2631 SET @@global.slave_parallel_workers = 1025;
2632 Warnings:
2633 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2634 Warning 1292 Truncated incorrect replica_parallel_workers value: '1025'
2635 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2636 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2637 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2638 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2639 # Invalid values
2640 SET @@global.slave_parallel_workers = 1.5;
2641 Got one of the listed errors
2642 SET @@global.slave_parallel_workers = ON;
2643 Got one of the listed errors
2644 SET @@global.slave_parallel_workers = 'x';
2645 Got one of the listed errors
2646 SET @@global.slave_parallel_workers = NULL;
2647 Got one of the listed errors
2648 # Restore default
2649 SET @@global.slave_parallel_workers = DEFAULT;
2650 Warnings:
2651 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2652 include/assert.inc [@@global.slave_parallel_workers should be 4]
2653 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2654 include/assert.inc [@@global.replica_parallel_workers should be 4]
2655 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2656 ==== Testing SET @@session.slave_parallel_workers [invalid scope] ====
2657 SET @@session.slave_parallel_workers = DEFAULT;
2658 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2659 SET @@slave_parallel_workers = DEFAULT;
2660 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2661 SET @@session.slave_parallel_workers = 1;
2662 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2663 SET @@slave_parallel_workers = 1;
2664 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2665 SET @@session.slave_parallel_workers = 2;
2666 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2667 SET @@slave_parallel_workers = 2;
2668 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2669 SET @@session.slave_parallel_workers = 100;
2670 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2671 SET @@slave_parallel_workers = 100;
2672 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2673 SELECT @@session.slave_parallel_workers;
2674 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable
2675 SELECT @@slave_parallel_workers;
2676 @@slave_parallel_workers
2677 4
2678 Warnings:
2679 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2680 include/assert.inc [Variable slave_parallel_workers should exist in performance_schema.session_variables]
2681 sysvar:
2682 - name=replica_pending_jobs_size_max
2683 - alias=slave_pending_jobs_size_max
2684 - invalid=[1.5, "ON", "'x'", "NULL"]
2685 - global=1
2686 - session=0
2687 - cmdline=1
2688 - persist=1
2689 - persist_as_readonly=0
2690 - dynamic=1
2691 - min=1024
2692 - max=18446744073709550592
2693 - block_size=1024
2694 - default=134217728
2695 - values=[65536, 32768, 4096]
2696 ==== Testing SET @@global.replica_pending_jobs_size_max [allowed values, range, invalid values] ====
2697 # Initial value is default
2698 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2699 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2700 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2701 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2702 # Valid values for variable
2703 SET @@global.replica_pending_jobs_size_max=65536;
2704 include/assert.inc [@@global.replica_pending_jobs_size_max should be 65536]
2705 include/assert.inc [replica_pending_jobs_size_max should be 65536 in P_S.global_variables]
2706 include/assert.inc [@@global.slave_pending_jobs_size_max should be 65536]
2707 include/assert.inc [slave_pending_jobs_size_max should be 65536 in P_S.global_variables]
2708 SET @@global.replica_pending_jobs_size_max=32768;
2709 include/assert.inc [@@global.replica_pending_jobs_size_max should be 32768]
2710 include/assert.inc [replica_pending_jobs_size_max should be 32768 in P_S.global_variables]
2711 include/assert.inc [@@global.slave_pending_jobs_size_max should be 32768]
2712 include/assert.inc [slave_pending_jobs_size_max should be 32768 in P_S.global_variables]
2713 SET @@global.replica_pending_jobs_size_max=4096;
2714 include/assert.inc [@@global.replica_pending_jobs_size_max should be 4096]
2715 include/assert.inc [replica_pending_jobs_size_max should be 4096 in P_S.global_variables]
2716 include/assert.inc [@@global.slave_pending_jobs_size_max should be 4096]
2717 include/assert.inc [slave_pending_jobs_size_max should be 4096 in P_S.global_variables]
2718 # Setting default value for variable
2719 SET @@global.replica_pending_jobs_size_max = DEFAULT;
2720 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2721 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2722 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2723 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2724 # Minimum value
2725 SET @@global.replica_pending_jobs_size_max = 1024;
2726 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2727 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2728 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2729 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2730 include/assert.inc [Expected min value should equal min value in performance_schema]
2731 # Less-than-minimum values
2732 SET @@global.replica_pending_jobs_size_max = 1023;
2733 Warnings:
2734 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '1023'
2735 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2736 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2737 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2738 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2739 SET @@global.replica_pending_jobs_size_max = 0;
2740 Warnings:
2741 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '0'
2742 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2743 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2744 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2745 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2746 # Maximum value
2747 SET @@global.replica_pending_jobs_size_max = 18446744073709550592;
2748 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2749 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2750 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2751 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2752 include/assert.inc [Expected max value should equal max value in performance_schema]
2753 # Greater-than-maximum values
2754 SET @@global.replica_pending_jobs_size_max = 18446744073709550593;
2755 Warnings:
2756 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709550593'
2757 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2758 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2759 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2760 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2761 SET @@global.replica_pending_jobs_size_max = 18446744073709551615;
2762 Warnings:
2763 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709551615'
2764 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2765 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2766 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2767 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2768 # Non-block-size value
2769 SET @@global.replica_pending_jobs_size_max = 134218751;
2770 Warnings:
2771 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '134218751'
2772 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2773 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2774 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2775 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2776 # Invalid values
2777 SET @@global.replica_pending_jobs_size_max = 1.5;
2778 Got one of the listed errors
2779 SET @@global.replica_pending_jobs_size_max = ON;
2780 Got one of the listed errors
2781 SET @@global.replica_pending_jobs_size_max = 'x';
2782 Got one of the listed errors
2783 SET @@global.replica_pending_jobs_size_max = NULL;
2784 Got one of the listed errors
2785 # Restore default
2786 SET @@global.replica_pending_jobs_size_max = DEFAULT;
2787 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2788 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2789 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2790 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2791 ==== Testing SET @@session.replica_pending_jobs_size_max [invalid scope] ====
2792 SET @@session.replica_pending_jobs_size_max = DEFAULT;
2793 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2794 SET @@replica_pending_jobs_size_max = DEFAULT;
2795 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2796 SET @@session.replica_pending_jobs_size_max = 65536;
2797 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2798 SET @@replica_pending_jobs_size_max = 65536;
2799 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2800 SET @@session.replica_pending_jobs_size_max = 32768;
2801 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2802 SET @@replica_pending_jobs_size_max = 32768;
2803 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2804 SET @@session.replica_pending_jobs_size_max = 4096;
2805 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2806 SET @@replica_pending_jobs_size_max = 4096;
2807 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2808 SELECT @@session.replica_pending_jobs_size_max;
2809 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable
2810 SELECT @@replica_pending_jobs_size_max;
2811 @@replica_pending_jobs_size_max
2812 134217728
2813 include/assert.inc [Variable replica_pending_jobs_size_max should exist in performance_schema.session_variables]
2814 ==== Testing SET @@global.slave_pending_jobs_size_max [allowed values, range, invalid values] ====
2815 # Initial value is default
2816 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2817 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2818 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2819 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2820 # Valid values for variable
2821 SET @@global.slave_pending_jobs_size_max=65536;
2822 Warnings:
2823 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2824 include/assert.inc [@@global.slave_pending_jobs_size_max should be 65536]
2825 include/assert.inc [slave_pending_jobs_size_max should be 65536 in P_S.global_variables]
2826 include/assert.inc [@@global.replica_pending_jobs_size_max should be 65536]
2827 include/assert.inc [replica_pending_jobs_size_max should be 65536 in P_S.global_variables]
2828 SET @@global.slave_pending_jobs_size_max=32768;
2829 Warnings:
2830 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2831 include/assert.inc [@@global.slave_pending_jobs_size_max should be 32768]
2832 include/assert.inc [slave_pending_jobs_size_max should be 32768 in P_S.global_variables]
2833 include/assert.inc [@@global.replica_pending_jobs_size_max should be 32768]
2834 include/assert.inc [replica_pending_jobs_size_max should be 32768 in P_S.global_variables]
2835 SET @@global.slave_pending_jobs_size_max=4096;
2836 Warnings:
2837 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2838 include/assert.inc [@@global.slave_pending_jobs_size_max should be 4096]
2839 include/assert.inc [slave_pending_jobs_size_max should be 4096 in P_S.global_variables]
2840 include/assert.inc [@@global.replica_pending_jobs_size_max should be 4096]
2841 include/assert.inc [replica_pending_jobs_size_max should be 4096 in P_S.global_variables]
2842 # Setting default value for variable
2843 SET @@global.slave_pending_jobs_size_max = DEFAULT;
2844 Warnings:
2845 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2846 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2847 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2848 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2849 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2850 # Minimum value
2851 SET @@global.slave_pending_jobs_size_max = 1024;
2852 Warnings:
2853 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2854 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2855 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2856 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2857 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2858 include/assert.inc [Expected min value should equal min value in performance_schema]
2859 # Less-than-minimum values
2860 SET @@global.slave_pending_jobs_size_max = 1023;
2861 Warnings:
2862 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2863 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '1023'
2864 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2865 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2866 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2867 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2868 SET @@global.slave_pending_jobs_size_max = 0;
2869 Warnings:
2870 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2871 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '0'
2872 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2873 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2874 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2875 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2876 # Maximum value
2877 SET @@global.slave_pending_jobs_size_max = 18446744073709550592;
2878 Warnings:
2879 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2880 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2881 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2882 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2883 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2884 include/assert.inc [Expected max value should equal max value in performance_schema]
2885 # Greater-than-maximum values
2886 SET @@global.slave_pending_jobs_size_max = 18446744073709550593;
2887 Warnings:
2888 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2889 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709550593'
2890 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2891 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2892 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2893 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2894 SET @@global.slave_pending_jobs_size_max = 18446744073709551615;
2895 Warnings:
2896 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2897 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709551615'
2898 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2899 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2900 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2901 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2902 # Non-block-size value
2903 SET @@global.slave_pending_jobs_size_max = 134218751;
2904 Warnings:
2905 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2906 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '134218751'
2907 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2908 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2909 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2910 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2911 # Invalid values
2912 SET @@global.slave_pending_jobs_size_max = 1.5;
2913 Got one of the listed errors
2914 SET @@global.slave_pending_jobs_size_max = ON;
2915 Got one of the listed errors
2916 SET @@global.slave_pending_jobs_size_max = 'x';
2917 Got one of the listed errors
2918 SET @@global.slave_pending_jobs_size_max = NULL;
2919 Got one of the listed errors
2920 # Restore default
2921 SET @@global.slave_pending_jobs_size_max = DEFAULT;
2922 Warnings:
2923 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2924 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2925 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2926 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2927 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2928 ==== Testing SET @@session.slave_pending_jobs_size_max [invalid scope] ====
2929 SET @@session.slave_pending_jobs_size_max = DEFAULT;
2930 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2931 SET @@slave_pending_jobs_size_max = DEFAULT;
2932 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2933 SET @@session.slave_pending_jobs_size_max = 65536;
2934 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2935 SET @@slave_pending_jobs_size_max = 65536;
2936 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2937 SET @@session.slave_pending_jobs_size_max = 32768;
2938 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2939 SET @@slave_pending_jobs_size_max = 32768;
2940 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2941 SET @@session.slave_pending_jobs_size_max = 4096;
2942 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2943 SET @@slave_pending_jobs_size_max = 4096;
2944 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2945 SELECT @@session.slave_pending_jobs_size_max;
2946 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable
2947 SELECT @@slave_pending_jobs_size_max;
2948 @@slave_pending_jobs_size_max
2949 134217728
2950 Warnings:
2951 Warning 1287 '@@slave_pending_jobs_size_max' is deprecated and will be removed in a future release. Please use replica_pending_jobs_size_max instead.
2952 include/assert.inc [Variable slave_pending_jobs_size_max should exist in performance_schema.session_variables]
2953 sysvar:
2954 - name=replica_preserve_commit_order
2955 - alias=slave_preserve_commit_order
2956 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
2957 - global=1
2958 - session=0
2959 - cmdline=1
2960 - persist=1
2961 - persist_as_readonly=1
2962 - dynamic=1
2963 - min=
2964 - max=
2965 - block_size=1
2966 - default=1
2967 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
2968 ==== Testing SET @@global.replica_preserve_commit_order [allowed values, range, invalid values] ====
2969 # Initial value is default
2970 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
2971 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
2972 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
2973 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
2974 # Valid values for variable
2975 SET @@global.replica_preserve_commit_order=ON;
2976 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
2977 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
2978 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
2979 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
2980 SET @@global.replica_preserve_commit_order=OFF;
2981 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
2982 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
2983 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
2984 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
2985 SET @@global.replica_preserve_commit_order=1;
2986 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
2987 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
2988 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
2989 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
2990 SET @@global.replica_preserve_commit_order=0;
2991 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
2992 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
2993 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
2994 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
2995 SET @@global.replica_preserve_commit_order=TRUE;
2996 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
2997 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
2998 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
2999 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3000 SET @@global.replica_preserve_commit_order=FALSE;
3001 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3002 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3003 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3004 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3005 SET @@global.replica_preserve_commit_order='ON';
3006 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3007 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3008 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3009 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3010 SET @@global.replica_preserve_commit_order='OFF';
3011 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3012 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3013 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3014 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3015 # Setting default value for variable
3016 SET @@global.replica_preserve_commit_order = DEFAULT;
3017 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3018 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3019 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3020 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3021 # Invalid values
3022 SET @@global.replica_preserve_commit_order = 0.1;
3023 Got one of the listed errors
3024 SET @@global.replica_preserve_commit_order = 2;
3025 Got one of the listed errors
3026 SET @@global.replica_preserve_commit_order = -1;
3027 Got one of the listed errors
3028 SET @@global.replica_preserve_commit_order = '';
3029 Got one of the listed errors
3030 SET @@global.replica_preserve_commit_order = 'x';
3031 Got one of the listed errors
3032 SET @@global.replica_preserve_commit_order = 'TRUE';
3033 Got one of the listed errors
3034 SET @@global.replica_preserve_commit_order = '1';
3035 Got one of the listed errors
3036 SET @@global.replica_preserve_commit_order = NULL;
3037 Got one of the listed errors
3038 # Restore default
3039 SET @@global.replica_preserve_commit_order = DEFAULT;
3040 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3041 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3042 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3043 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3044 ==== Testing SET @@session.replica_preserve_commit_order [invalid scope] ====
3045 SET @@session.replica_preserve_commit_order = DEFAULT;
3046 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3047 SET @@replica_preserve_commit_order = DEFAULT;
3048 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3049 SET @@session.replica_preserve_commit_order = ON;
3050 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3051 SET @@replica_preserve_commit_order = ON;
3052 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3053 SET @@session.replica_preserve_commit_order = OFF;
3054 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3055 SET @@replica_preserve_commit_order = OFF;
3056 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3057 SET @@session.replica_preserve_commit_order = 1;
3058 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3059 SET @@replica_preserve_commit_order = 1;
3060 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3061 SET @@session.replica_preserve_commit_order = 0;
3062 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3063 SET @@replica_preserve_commit_order = 0;
3064 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3065 SET @@session.replica_preserve_commit_order = TRUE;
3066 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3067 SET @@replica_preserve_commit_order = TRUE;
3068 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3069 SET @@session.replica_preserve_commit_order = FALSE;
3070 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3071 SET @@replica_preserve_commit_order = FALSE;
3072 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3073 SET @@session.replica_preserve_commit_order = 'ON';
3074 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3075 SET @@replica_preserve_commit_order = 'ON';
3076 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3077 SET @@session.replica_preserve_commit_order = 'OFF';
3078 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3079 SET @@replica_preserve_commit_order = 'OFF';
3080 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3081 SELECT @@session.replica_preserve_commit_order;
3082 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable
3083 SELECT @@replica_preserve_commit_order;
3084 @@replica_preserve_commit_order
3085 1
3086 include/assert.inc [Variable replica_preserve_commit_order should exist in performance_schema.session_variables]
3087 ==== Testing SET @@global.slave_preserve_commit_order [allowed values, range, invalid values] ====
3088 # Initial value is default
3089 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3090 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3091 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3092 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3093 # Valid values for variable
3094 SET @@global.slave_preserve_commit_order=ON;
3095 Warnings:
3096 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3097 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3098 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3099 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3100 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3101 SET @@global.slave_preserve_commit_order=OFF;
3102 Warnings:
3103 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3104 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3105 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3106 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3107 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3108 SET @@global.slave_preserve_commit_order=1;
3109 Warnings:
3110 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3111 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3112 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3113 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3114 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3115 SET @@global.slave_preserve_commit_order=0;
3116 Warnings:
3117 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3118 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3119 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3120 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3121 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3122 SET @@global.slave_preserve_commit_order=TRUE;
3123 Warnings:
3124 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3125 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3126 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3127 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3128 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3129 SET @@global.slave_preserve_commit_order=FALSE;
3130 Warnings:
3131 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3132 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3133 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3134 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3135 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3136 SET @@global.slave_preserve_commit_order='ON';
3137 Warnings:
3138 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3139 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3140 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3141 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3142 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3143 SET @@global.slave_preserve_commit_order='OFF';
3144 Warnings:
3145 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3146 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3147 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3148 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3149 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3150 # Setting default value for variable
3151 SET @@global.slave_preserve_commit_order = DEFAULT;
3152 Warnings:
3153 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3154 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3155 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3156 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3157 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3158 # Invalid values
3159 SET @@global.slave_preserve_commit_order = 0.1;
3160 Got one of the listed errors
3161 SET @@global.slave_preserve_commit_order = 2;
3162 Got one of the listed errors
3163 SET @@global.slave_preserve_commit_order = -1;
3164 Got one of the listed errors
3165 SET @@global.slave_preserve_commit_order = '';
3166 Got one of the listed errors
3167 SET @@global.slave_preserve_commit_order = 'x';
3168 Got one of the listed errors
3169 SET @@global.slave_preserve_commit_order = 'TRUE';
3170 Got one of the listed errors
3171 SET @@global.slave_preserve_commit_order = '1';
3172 Got one of the listed errors
3173 SET @@global.slave_preserve_commit_order = NULL;
3174 Got one of the listed errors
3175 # Restore default
3176 SET @@global.slave_preserve_commit_order = DEFAULT;
3177 Warnings:
3178 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3179 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3180 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3181 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3182 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3183 ==== Testing SET @@session.slave_preserve_commit_order [invalid scope] ====
3184 SET @@session.slave_preserve_commit_order = DEFAULT;
3185 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3186 SET @@slave_preserve_commit_order = DEFAULT;
3187 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3188 SET @@session.slave_preserve_commit_order = ON;
3189 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3190 SET @@slave_preserve_commit_order = ON;
3191 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3192 SET @@session.slave_preserve_commit_order = OFF;
3193 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3194 SET @@slave_preserve_commit_order = OFF;
3195 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3196 SET @@session.slave_preserve_commit_order = 1;
3197 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3198 SET @@slave_preserve_commit_order = 1;
3199 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3200 SET @@session.slave_preserve_commit_order = 0;
3201 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3202 SET @@slave_preserve_commit_order = 0;
3203 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3204 SET @@session.slave_preserve_commit_order = TRUE;
3205 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3206 SET @@slave_preserve_commit_order = TRUE;
3207 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3208 SET @@session.slave_preserve_commit_order = FALSE;
3209 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3210 SET @@slave_preserve_commit_order = FALSE;
3211 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3212 SET @@session.slave_preserve_commit_order = 'ON';
3213 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3214 SET @@slave_preserve_commit_order = 'ON';
3215 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3216 SET @@session.slave_preserve_commit_order = 'OFF';
3217 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3218 SET @@slave_preserve_commit_order = 'OFF';
3219 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3220 SELECT @@session.slave_preserve_commit_order;
3221 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable
3222 SELECT @@slave_preserve_commit_order;
3223 @@slave_preserve_commit_order
3224 1
3225 Warnings:
3226 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3227 include/assert.inc [Variable slave_preserve_commit_order should exist in performance_schema.session_variables]
3228 sysvar:
3229 - name=replica_skip_errors
3230 - alias=slave_skip_errors
3231 - invalid=[0, 1, 1.5, -1, "ON", null, "'x'"]
3232 - global=1
3233 - session=0
3234 - cmdline=1
3235 - persist=1
3236 - persist_as_readonly=1
3237 - dynamic=0
3238 - min=
3239 - max=
3240 - block_size=1
3241 - default=OFF
3242 - values=["all", "ddl_exist_errors", "'1,2'", "'ddl_exist_errors,3,9,3,ddl_exist_errors,all'"]
3243 ==== Testing SET @@global.replica_skip_errors [read-only] ====
3244 # Initial value is default
3245 include/assert.inc [@@global.replica_skip_errors should be OFF]
3246 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3247 include/assert.inc [@@global.slave_skip_errors should be OFF]
3248 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3249 # Valid values for *read-only* variable cannot be set
3250 SET @@global.replica_skip_errors = all;
3251 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3252 include/assert.inc [@@global.replica_skip_errors should be OFF]
3253 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3254 include/assert.inc [@@global.slave_skip_errors should be OFF]
3255 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3256 SET @@global.replica_skip_errors = ddl_exist_errors;
3257 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3258 include/assert.inc [@@global.replica_skip_errors should be OFF]
3259 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3260 include/assert.inc [@@global.slave_skip_errors should be OFF]
3261 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3262 SET @@global.replica_skip_errors = '1,2';
3263 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3264 include/assert.inc [@@global.replica_skip_errors should be OFF]
3265 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3266 include/assert.inc [@@global.slave_skip_errors should be OFF]
3267 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3268 SET @@global.replica_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3269 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3270 include/assert.inc [@@global.replica_skip_errors should be OFF]
3271 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3272 include/assert.inc [@@global.slave_skip_errors should be OFF]
3273 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3274 # Setting default value for variable
3275 SET @@global.replica_skip_errors = DEFAULT;
3276 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3277 include/assert.inc [@@global.replica_skip_errors should be OFF]
3278 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3279 include/assert.inc [@@global.slave_skip_errors should be OFF]
3280 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3281 ==== Testing SET @@session.replica_skip_errors [invalid scope] ====
3282 SET @@session.replica_skip_errors = DEFAULT;
3283 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3284 SET @@replica_skip_errors = DEFAULT;
3285 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3286 SET @@session.replica_skip_errors = all;
3287 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3288 SET @@replica_skip_errors = all;
3289 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3290 SET @@session.replica_skip_errors = ddl_exist_errors;
3291 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3292 SET @@replica_skip_errors = ddl_exist_errors;
3293 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3294 SET @@session.replica_skip_errors = '1,2';
3295 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3296 SET @@replica_skip_errors = '1,2';
3297 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3298 SET @@session.replica_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3299 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3300 SET @@replica_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3301 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3302 SELECT @@session.replica_skip_errors;
3303 ERROR HY000: Variable 'replica_skip_errors' is a GLOBAL variable
3304 SELECT @@replica_skip_errors;
3305 @@replica_skip_errors
3306 OFF
3307 include/assert.inc [Variable replica_skip_errors should exist in performance_schema.session_variables]
3308 ==== Testing SET @@global.slave_skip_errors [read-only] ====
3309 # Initial value is default
3310 include/assert.inc [@@global.slave_skip_errors should be OFF]
3311 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3312 include/assert.inc [@@global.replica_skip_errors should be OFF]
3313 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3314 # Valid values for *read-only* variable cannot be set
3315 SET @@global.slave_skip_errors = all;
3316 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3317 include/assert.inc [@@global.slave_skip_errors should be OFF]
3318 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3319 include/assert.inc [@@global.replica_skip_errors should be OFF]
3320 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3321 SET @@global.slave_skip_errors = ddl_exist_errors;
3322 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3323 include/assert.inc [@@global.slave_skip_errors should be OFF]
3324 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3325 include/assert.inc [@@global.replica_skip_errors should be OFF]
3326 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3327 SET @@global.slave_skip_errors = '1,2';
3328 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3329 include/assert.inc [@@global.slave_skip_errors should be OFF]
3330 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3331 include/assert.inc [@@global.replica_skip_errors should be OFF]
3332 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3333 SET @@global.slave_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3334 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3335 include/assert.inc [@@global.slave_skip_errors should be OFF]
3336 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3337 include/assert.inc [@@global.replica_skip_errors should be OFF]
3338 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3339 # Setting default value for variable
3340 SET @@global.slave_skip_errors = DEFAULT;
3341 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3342 include/assert.inc [@@global.slave_skip_errors should be OFF]
3343 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3344 include/assert.inc [@@global.replica_skip_errors should be OFF]
3345 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3346 ==== Testing SET @@session.slave_skip_errors [invalid scope] ====
3347 SET @@session.slave_skip_errors = DEFAULT;
3348 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3349 SET @@slave_skip_errors = DEFAULT;
3350 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3351 SET @@session.slave_skip_errors = all;
3352 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3353 SET @@slave_skip_errors = all;
3354 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3355 SET @@session.slave_skip_errors = ddl_exist_errors;
3356 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3357 SET @@slave_skip_errors = ddl_exist_errors;
3358 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3359 SET @@session.slave_skip_errors = '1,2';
3360 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3361 SET @@slave_skip_errors = '1,2';
3362 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3363 SET @@session.slave_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3364 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3365 SET @@slave_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3366 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3367 SELECT @@session.slave_skip_errors;
3368 ERROR HY000: Variable 'slave_skip_errors' is a GLOBAL variable
3369 SELECT @@slave_skip_errors;
3370 @@slave_skip_errors
3371 OFF
3372 Warnings:
3373 Warning 1287 '@@slave_skip_errors' is deprecated and will be removed in a future release. Please use replica_skip_errors instead.
3374 include/assert.inc [Variable slave_skip_errors should exist in performance_schema.session_variables]
3375 sysvar:
3376 - name=replica_sql_verify_checksum
3377 - alias=slave_sql_verify_checksum
3378 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
3379 - global=1
3380 - session=0
3381 - cmdline=1
3382 - persist=1
3383 - persist_as_readonly=0
3384 - dynamic=1
3385 - min=
3386 - max=
3387 - block_size=1
3388 - default=1
3389 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
3390 ==== Testing SET @@global.replica_sql_verify_checksum [allowed values, range, invalid values] ====
3391 # Initial value is default
3392 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3393 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3394 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3395 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3396 # Valid values for variable
3397 SET @@global.replica_sql_verify_checksum=ON;
3398 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3399 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3400 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3401 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3402 SET @@global.replica_sql_verify_checksum=OFF;
3403 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3404 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3405 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3406 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3407 SET @@global.replica_sql_verify_checksum=1;
3408 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3409 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3410 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3411 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3412 SET @@global.replica_sql_verify_checksum=0;
3413 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3414 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3415 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3416 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3417 SET @@global.replica_sql_verify_checksum=TRUE;
3418 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3419 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3420 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3421 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3422 SET @@global.replica_sql_verify_checksum=FALSE;
3423 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3424 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3425 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3426 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3427 SET @@global.replica_sql_verify_checksum='ON';
3428 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3429 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3430 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3431 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3432 SET @@global.replica_sql_verify_checksum='OFF';
3433 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3434 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3435 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3436 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3437 # Setting default value for variable
3438 SET @@global.replica_sql_verify_checksum = DEFAULT;
3439 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3440 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3441 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3442 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3443 # Invalid values
3444 SET @@global.replica_sql_verify_checksum = 0.1;
3445 Got one of the listed errors
3446 SET @@global.replica_sql_verify_checksum = 2;
3447 Got one of the listed errors
3448 SET @@global.replica_sql_verify_checksum = -1;
3449 Got one of the listed errors
3450 SET @@global.replica_sql_verify_checksum = '';
3451 Got one of the listed errors
3452 SET @@global.replica_sql_verify_checksum = 'x';
3453 Got one of the listed errors
3454 SET @@global.replica_sql_verify_checksum = 'TRUE';
3455 Got one of the listed errors
3456 SET @@global.replica_sql_verify_checksum = '1';
3457 Got one of the listed errors
3458 SET @@global.replica_sql_verify_checksum = NULL;
3459 Got one of the listed errors
3460 # Restore default
3461 SET @@global.replica_sql_verify_checksum = DEFAULT;
3462 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3463 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3464 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3465 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3466 ==== Testing SET @@session.replica_sql_verify_checksum [invalid scope] ====
3467 SET @@session.replica_sql_verify_checksum = DEFAULT;
3468 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3469 SET @@replica_sql_verify_checksum = DEFAULT;
3470 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3471 SET @@session.replica_sql_verify_checksum = ON;
3472 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3473 SET @@replica_sql_verify_checksum = ON;
3474 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3475 SET @@session.replica_sql_verify_checksum = OFF;
3476 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3477 SET @@replica_sql_verify_checksum = OFF;
3478 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3479 SET @@session.replica_sql_verify_checksum = 1;
3480 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3481 SET @@replica_sql_verify_checksum = 1;
3482 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3483 SET @@session.replica_sql_verify_checksum = 0;
3484 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3485 SET @@replica_sql_verify_checksum = 0;
3486 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3487 SET @@session.replica_sql_verify_checksum = TRUE;
3488 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3489 SET @@replica_sql_verify_checksum = TRUE;
3490 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3491 SET @@session.replica_sql_verify_checksum = FALSE;
3492 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3493 SET @@replica_sql_verify_checksum = FALSE;
3494 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3495 SET @@session.replica_sql_verify_checksum = 'ON';
3496 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3497 SET @@replica_sql_verify_checksum = 'ON';
3498 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3499 SET @@session.replica_sql_verify_checksum = 'OFF';
3500 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3501 SET @@replica_sql_verify_checksum = 'OFF';
3502 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3503 SELECT @@session.replica_sql_verify_checksum;
3504 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable
3505 SELECT @@replica_sql_verify_checksum;
3506 @@replica_sql_verify_checksum
3507 1
3508 include/assert.inc [Variable replica_sql_verify_checksum should exist in performance_schema.session_variables]
3509 ==== Testing SET @@global.slave_sql_verify_checksum [allowed values, range, invalid values] ====
3510 # Initial value is default
3511 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3512 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3513 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3514 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3515 # Valid values for variable
3516 SET @@global.slave_sql_verify_checksum=ON;
3517 Warnings:
3518 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3519 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3520 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3521 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3522 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3523 SET @@global.slave_sql_verify_checksum=OFF;
3524 Warnings:
3525 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3526 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3527 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3528 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3529 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3530 SET @@global.slave_sql_verify_checksum=1;
3531 Warnings:
3532 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3533 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3534 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3535 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3536 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3537 SET @@global.slave_sql_verify_checksum=0;
3538 Warnings:
3539 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3540 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3541 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3542 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3543 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3544 SET @@global.slave_sql_verify_checksum=TRUE;
3545 Warnings:
3546 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3547 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3548 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3549 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3550 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3551 SET @@global.slave_sql_verify_checksum=FALSE;
3552 Warnings:
3553 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3554 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3555 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3556 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3557 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3558 SET @@global.slave_sql_verify_checksum='ON';
3559 Warnings:
3560 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3561 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3562 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3563 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3564 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3565 SET @@global.slave_sql_verify_checksum='OFF';
3566 Warnings:
3567 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3568 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3569 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3570 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3571 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3572 # Setting default value for variable
3573 SET @@global.slave_sql_verify_checksum = DEFAULT;
3574 Warnings:
3575 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3576 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3577 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3578 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3579 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3580 # Invalid values
3581 SET @@global.slave_sql_verify_checksum = 0.1;
3582 Got one of the listed errors
3583 SET @@global.slave_sql_verify_checksum = 2;
3584 Got one of the listed errors
3585 SET @@global.slave_sql_verify_checksum = -1;
3586 Got one of the listed errors
3587 SET @@global.slave_sql_verify_checksum = '';
3588 Got one of the listed errors
3589 SET @@global.slave_sql_verify_checksum = 'x';
3590 Got one of the listed errors
3591 SET @@global.slave_sql_verify_checksum = 'TRUE';
3592 Got one of the listed errors
3593 SET @@global.slave_sql_verify_checksum = '1';
3594 Got one of the listed errors
3595 SET @@global.slave_sql_verify_checksum = NULL;
3596 Got one of the listed errors
3597 # Restore default
3598 SET @@global.slave_sql_verify_checksum = DEFAULT;
3599 Warnings:
3600 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3601 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3602 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3603 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3604 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3605 ==== Testing SET @@session.slave_sql_verify_checksum [invalid scope] ====
3606 SET @@session.slave_sql_verify_checksum = DEFAULT;
3607 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3608 SET @@slave_sql_verify_checksum = DEFAULT;
3609 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3610 SET @@session.slave_sql_verify_checksum = ON;
3611 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3612 SET @@slave_sql_verify_checksum = ON;
3613 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3614 SET @@session.slave_sql_verify_checksum = OFF;
3615 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3616 SET @@slave_sql_verify_checksum = OFF;
3617 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3618 SET @@session.slave_sql_verify_checksum = 1;
3619 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3620 SET @@slave_sql_verify_checksum = 1;
3621 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3622 SET @@session.slave_sql_verify_checksum = 0;
3623 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3624 SET @@slave_sql_verify_checksum = 0;
3625 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3626 SET @@session.slave_sql_verify_checksum = TRUE;
3627 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3628 SET @@slave_sql_verify_checksum = TRUE;
3629 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3630 SET @@session.slave_sql_verify_checksum = FALSE;
3631 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3632 SET @@slave_sql_verify_checksum = FALSE;
3633 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3634 SET @@session.slave_sql_verify_checksum = 'ON';
3635 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3636 SET @@slave_sql_verify_checksum = 'ON';
3637 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3638 SET @@session.slave_sql_verify_checksum = 'OFF';
3639 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3640 SET @@slave_sql_verify_checksum = 'OFF';
3641 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3642 SELECT @@session.slave_sql_verify_checksum;
3643 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable
3644 SELECT @@slave_sql_verify_checksum;
3645 @@slave_sql_verify_checksum
3646 1
3647 Warnings:
3648 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3649 include/assert.inc [Variable slave_sql_verify_checksum should exist in performance_schema.session_variables]
3650 sysvar:
3651 - name=replica_transaction_retries
3652 - alias=slave_transaction_retries
3653 - invalid=[1.5, "ON", "'x'", "NULL"]
3654 - global=1
3655 - session=0
3656 - cmdline=1
3657 - persist=1
3658 - persist_as_readonly=0
3659 - dynamic=1
3660 - min=0
3661 - max=18446744073709551615
3662 - block_size=1
3663 - default=10
3664 - values=[1, 2, 99]
3665 ==== Testing SET @@global.replica_transaction_retries [allowed values, range, invalid values] ====
3666 # Initial value is default
3667 include/assert.inc [@@global.replica_transaction_retries should be 10]
3668 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3669 include/assert.inc [@@global.slave_transaction_retries should be 10]
3670 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3671 # Valid values for variable
3672 SET @@global.replica_transaction_retries=1;
3673 include/assert.inc [@@global.replica_transaction_retries should be 1]
3674 include/assert.inc [replica_transaction_retries should be 1 in P_S.global_variables]
3675 include/assert.inc [@@global.slave_transaction_retries should be 1]
3676 include/assert.inc [slave_transaction_retries should be 1 in P_S.global_variables]
3677 SET @@global.replica_transaction_retries=2;
3678 include/assert.inc [@@global.replica_transaction_retries should be 2]
3679 include/assert.inc [replica_transaction_retries should be 2 in P_S.global_variables]
3680 include/assert.inc [@@global.slave_transaction_retries should be 2]
3681 include/assert.inc [slave_transaction_retries should be 2 in P_S.global_variables]
3682 SET @@global.replica_transaction_retries=99;
3683 include/assert.inc [@@global.replica_transaction_retries should be 99]
3684 include/assert.inc [replica_transaction_retries should be 99 in P_S.global_variables]
3685 include/assert.inc [@@global.slave_transaction_retries should be 99]
3686 include/assert.inc [slave_transaction_retries should be 99 in P_S.global_variables]
3687 # Setting default value for variable
3688 SET @@global.replica_transaction_retries = DEFAULT;
3689 include/assert.inc [@@global.replica_transaction_retries should be 10]
3690 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3691 include/assert.inc [@@global.slave_transaction_retries should be 10]
3692 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3693 # Minimum value
3694 SET @@global.replica_transaction_retries = 0;
3695 include/assert.inc [@@global.replica_transaction_retries should be 0]
3696 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3697 include/assert.inc [@@global.slave_transaction_retries should be 0]
3698 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3699 include/assert.inc [Expected min value should equal min value in performance_schema]
3700 # Less-than-minimum values
3701 SET @@global.replica_transaction_retries = -1;
3702 Warnings:
3703 Warning 1292 Truncated incorrect replica_transaction_retries value: '-1'
3704 include/assert.inc [@@global.replica_transaction_retries should be 0]
3705 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3706 include/assert.inc [@@global.slave_transaction_retries should be 0]
3707 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3708 # Maximum value
3709 SET @@global.replica_transaction_retries = 18446744073709551615;
3710 include/assert.inc [@@global.replica_transaction_retries should be 18446744073709551615]
3711 include/assert.inc [replica_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3712 include/assert.inc [@@global.slave_transaction_retries should be 18446744073709551615]
3713 include/assert.inc [slave_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3714 include/assert.inc [Expected max value should equal max value in performance_schema]
3715 # Invalid values
3716 SET @@global.replica_transaction_retries = 1.5;
3717 Got one of the listed errors
3718 SET @@global.replica_transaction_retries = ON;
3719 Got one of the listed errors
3720 SET @@global.replica_transaction_retries = 'x';
3721 Got one of the listed errors
3722 SET @@global.replica_transaction_retries = NULL;
3723 Got one of the listed errors
3724 # Restore default
3725 SET @@global.replica_transaction_retries = DEFAULT;
3726 include/assert.inc [@@global.replica_transaction_retries should be 10]
3727 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3728 include/assert.inc [@@global.slave_transaction_retries should be 10]
3729 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3730 ==== Testing SET @@session.replica_transaction_retries [invalid scope] ====
3731 SET @@session.replica_transaction_retries = DEFAULT;
3732 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3733 SET @@replica_transaction_retries = DEFAULT;
3734 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3735 SET @@session.replica_transaction_retries = 1;
3736 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3737 SET @@replica_transaction_retries = 1;
3738 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3739 SET @@session.replica_transaction_retries = 2;
3740 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3741 SET @@replica_transaction_retries = 2;
3742 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3743 SET @@session.replica_transaction_retries = 99;
3744 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3745 SET @@replica_transaction_retries = 99;
3746 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3747 SELECT @@session.replica_transaction_retries;
3748 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable
3749 SELECT @@replica_transaction_retries;
3750 @@replica_transaction_retries
3751 10
3752 include/assert.inc [Variable replica_transaction_retries should exist in performance_schema.session_variables]
3753 ==== Testing SET @@global.slave_transaction_retries [allowed values, range, invalid values] ====
3754 # Initial value is default
3755 include/assert.inc [@@global.slave_transaction_retries should be 10]
3756 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3757 include/assert.inc [@@global.replica_transaction_retries should be 10]
3758 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3759 # Valid values for variable
3760 SET @@global.slave_transaction_retries=1;
3761 Warnings:
3762 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3763 include/assert.inc [@@global.slave_transaction_retries should be 1]
3764 include/assert.inc [slave_transaction_retries should be 1 in P_S.global_variables]
3765 include/assert.inc [@@global.replica_transaction_retries should be 1]
3766 include/assert.inc [replica_transaction_retries should be 1 in P_S.global_variables]
3767 SET @@global.slave_transaction_retries=2;
3768 Warnings:
3769 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3770 include/assert.inc [@@global.slave_transaction_retries should be 2]
3771 include/assert.inc [slave_transaction_retries should be 2 in P_S.global_variables]
3772 include/assert.inc [@@global.replica_transaction_retries should be 2]
3773 include/assert.inc [replica_transaction_retries should be 2 in P_S.global_variables]
3774 SET @@global.slave_transaction_retries=99;
3775 Warnings:
3776 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3777 include/assert.inc [@@global.slave_transaction_retries should be 99]
3778 include/assert.inc [slave_transaction_retries should be 99 in P_S.global_variables]
3779 include/assert.inc [@@global.replica_transaction_retries should be 99]
3780 include/assert.inc [replica_transaction_retries should be 99 in P_S.global_variables]
3781 # Setting default value for variable
3782 SET @@global.slave_transaction_retries = DEFAULT;
3783 Warnings:
3784 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3785 include/assert.inc [@@global.slave_transaction_retries should be 10]
3786 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3787 include/assert.inc [@@global.replica_transaction_retries should be 10]
3788 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3789 # Minimum value
3790 SET @@global.slave_transaction_retries = 0;
3791 Warnings:
3792 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3793 include/assert.inc [@@global.slave_transaction_retries should be 0]
3794 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3795 include/assert.inc [@@global.replica_transaction_retries should be 0]
3796 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3797 include/assert.inc [Expected min value should equal min value in performance_schema]
3798 # Less-than-minimum values
3799 SET @@global.slave_transaction_retries = -1;
3800 Warnings:
3801 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3802 Warning 1292 Truncated incorrect replica_transaction_retries value: '-1'
3803 include/assert.inc [@@global.slave_transaction_retries should be 0]
3804 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3805 include/assert.inc [@@global.replica_transaction_retries should be 0]
3806 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3807 # Maximum value
3808 SET @@global.slave_transaction_retries = 18446744073709551615;
3809 Warnings:
3810 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3811 include/assert.inc [@@global.slave_transaction_retries should be 18446744073709551615]
3812 include/assert.inc [slave_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3813 include/assert.inc [@@global.replica_transaction_retries should be 18446744073709551615]
3814 include/assert.inc [replica_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3815 include/assert.inc [Expected max value should equal max value in performance_schema]
3816 # Invalid values
3817 SET @@global.slave_transaction_retries = 1.5;
3818 Got one of the listed errors
3819 SET @@global.slave_transaction_retries = ON;
3820 Got one of the listed errors
3821 SET @@global.slave_transaction_retries = 'x';
3822 Got one of the listed errors
3823 SET @@global.slave_transaction_retries = NULL;
3824 Got one of the listed errors
3825 # Restore default
3826 SET @@global.slave_transaction_retries = DEFAULT;
3827 Warnings:
3828 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3829 include/assert.inc [@@global.slave_transaction_retries should be 10]
3830 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3831 include/assert.inc [@@global.replica_transaction_retries should be 10]
3832 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3833 ==== Testing SET @@session.slave_transaction_retries [invalid scope] ====
3834 SET @@session.slave_transaction_retries = DEFAULT;
3835 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3836 SET @@slave_transaction_retries = DEFAULT;
3837 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3838 SET @@session.slave_transaction_retries = 1;
3839 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3840 SET @@slave_transaction_retries = 1;
3841 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3842 SET @@session.slave_transaction_retries = 2;
3843 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3844 SET @@slave_transaction_retries = 2;
3845 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3846 SET @@session.slave_transaction_retries = 99;
3847 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3848 SET @@slave_transaction_retries = 99;
3849 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3850 SELECT @@session.slave_transaction_retries;
3851 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable
3852 SELECT @@slave_transaction_retries;
3853 @@slave_transaction_retries
3854 10
3855 Warnings:
3856 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3857 include/assert.inc [Variable slave_transaction_retries should exist in performance_schema.session_variables]
3858 sysvar:
3859 - name=replica_type_conversions
3860 - alias=slave_type_conversions
3861 - invalid=[1.5, "ON", "'x'", "NULL", "'FOO_BAR'", -1, 16]
3862 - global=1
3863 - session=0
3864 - cmdline=1
3865 - persist=1
3866 - persist_as_readonly=0
3867 - dynamic=1
3868 - min=
3869 - max=
3870 - block_size=1
3871 - default=
3872 - values=["ALL_LOSSY", "'ALL_NON_LOSSY'", "''", "'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED'", 0, 8, 15]
3873 ==== Testing SET @@global.replica_type_conversions [allowed values, range, invalid values] ====
3874 # Initial value is default
3875 include/assert.inc [@@global.replica_type_conversions should be ]
3876 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3877 include/assert.inc [@@global.slave_type_conversions should be ]
3878 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3879 # Valid values for variable
3880 SET @@global.replica_type_conversions=ALL_LOSSY;
3881 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY]
3882 include/assert.inc [replica_type_conversions should be ALL_LOSSY in P_S.global_variables]
3883 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY]
3884 include/assert.inc [slave_type_conversions should be ALL_LOSSY in P_S.global_variables]
3885 SET @@global.replica_type_conversions='ALL_NON_LOSSY';
3886 include/assert.inc [@@global.replica_type_conversions should be ALL_NON_LOSSY]
3887 include/assert.inc [replica_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
3888 include/assert.inc [@@global.slave_type_conversions should be ALL_NON_LOSSY]
3889 include/assert.inc [slave_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
3890 SET @@global.replica_type_conversions='';
3891 include/assert.inc [@@global.replica_type_conversions should be ]
3892 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3893 include/assert.inc [@@global.slave_type_conversions should be ]
3894 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3895 SET @@global.replica_type_conversions='ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
3896 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3897 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3898 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3899 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3900 SET @@global.replica_type_conversions=0;
3901 include/assert.inc [@@global.replica_type_conversions should be ]
3902 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3903 include/assert.inc [@@global.slave_type_conversions should be ]
3904 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3905 SET @@global.replica_type_conversions=8;
3906 include/assert.inc [@@global.replica_type_conversions should be ALL_SIGNED]
3907 include/assert.inc [replica_type_conversions should be ALL_SIGNED in P_S.global_variables]
3908 include/assert.inc [@@global.slave_type_conversions should be ALL_SIGNED]
3909 include/assert.inc [slave_type_conversions should be ALL_SIGNED in P_S.global_variables]
3910 SET @@global.replica_type_conversions=15;
3911 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3912 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3913 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3914 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3915 # Setting default value for variable
3916 SET @@global.replica_type_conversions = DEFAULT;
3917 include/assert.inc [@@global.replica_type_conversions should be ]
3918 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3919 include/assert.inc [@@global.slave_type_conversions should be ]
3920 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3921 # Invalid values
3922 SET @@global.replica_type_conversions = 1.5;
3923 Got one of the listed errors
3924 SET @@global.replica_type_conversions = ON;
3925 Got one of the listed errors
3926 SET @@global.replica_type_conversions = 'x';
3927 Got one of the listed errors
3928 SET @@global.replica_type_conversions = NULL;
3929 Got one of the listed errors
3930 SET @@global.replica_type_conversions = 'FOO_BAR';
3931 Got one of the listed errors
3932 SET @@global.replica_type_conversions = -1;
3933 Got one of the listed errors
3934 SET @@global.replica_type_conversions = 16;
3935 Got one of the listed errors
3936 # Restore default
3937 SET @@global.replica_type_conversions = DEFAULT;
3938 include/assert.inc [@@global.replica_type_conversions should be ]
3939 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3940 include/assert.inc [@@global.slave_type_conversions should be ]
3941 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3942 ==== Testing SET @@session.replica_type_conversions [invalid scope] ====
3943 SET @@session.replica_type_conversions = DEFAULT;
3944 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3945 SET @@replica_type_conversions = DEFAULT;
3946 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3947 SET @@session.replica_type_conversions = ALL_LOSSY;
3948 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3949 SET @@replica_type_conversions = ALL_LOSSY;
3950 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3951 SET @@session.replica_type_conversions = 'ALL_NON_LOSSY';
3952 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3953 SET @@replica_type_conversions = 'ALL_NON_LOSSY';
3954 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3955 SET @@session.replica_type_conversions = '';
3956 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3957 SET @@replica_type_conversions = '';
3958 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3959 SET @@session.replica_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
3960 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3961 SET @@replica_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
3962 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3963 SET @@session.replica_type_conversions = 0;
3964 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3965 SET @@replica_type_conversions = 0;
3966 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3967 SET @@session.replica_type_conversions = 8;
3968 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3969 SET @@replica_type_conversions = 8;
3970 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3971 SET @@session.replica_type_conversions = 15;
3972 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3973 SET @@replica_type_conversions = 15;
3974 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3975 SELECT @@session.replica_type_conversions;
3976 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable
3977 SELECT @@replica_type_conversions;
3978 @@replica_type_conversions
3979
3980 include/assert.inc [Variable replica_type_conversions should exist in performance_schema.session_variables]
3981 ==== Testing SET @@global.slave_type_conversions [allowed values, range, invalid values] ====
3982 # Initial value is default
3983 include/assert.inc [@@global.slave_type_conversions should be ]
3984 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3985 include/assert.inc [@@global.replica_type_conversions should be ]
3986 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3987 # Valid values for variable
3988 SET @@global.slave_type_conversions=ALL_LOSSY;
3989 Warnings:
3990 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
3991 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY]
3992 include/assert.inc [slave_type_conversions should be ALL_LOSSY in P_S.global_variables]
3993 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY]
3994 include/assert.inc [replica_type_conversions should be ALL_LOSSY in P_S.global_variables]
3995 SET @@global.slave_type_conversions='ALL_NON_LOSSY';
3996 Warnings:
3997 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
3998 include/assert.inc [@@global.slave_type_conversions should be ALL_NON_LOSSY]
3999 include/assert.inc [slave_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
4000 include/assert.inc [@@global.replica_type_conversions should be ALL_NON_LOSSY]
4001 include/assert.inc [replica_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
4002 SET @@global.slave_type_conversions='';
4003 Warnings:
4004 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4005 include/assert.inc [@@global.slave_type_conversions should be ]
4006 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4007 include/assert.inc [@@global.replica_type_conversions should be ]
4008 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4009 SET @@global.slave_type_conversions='ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4010 Warnings:
4011 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4012 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4013 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4014 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4015 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4016 SET @@global.slave_type_conversions=0;
4017 Warnings:
4018 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4019 include/assert.inc [@@global.slave_type_conversions should be ]
4020 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4021 include/assert.inc [@@global.replica_type_conversions should be ]
4022 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4023 SET @@global.slave_type_conversions=8;
4024 Warnings:
4025 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4026 include/assert.inc [@@global.slave_type_conversions should be ALL_SIGNED]
4027 include/assert.inc [slave_type_conversions should be ALL_SIGNED in P_S.global_variables]
4028 include/assert.inc [@@global.replica_type_conversions should be ALL_SIGNED]
4029 include/assert.inc [replica_type_conversions should be ALL_SIGNED in P_S.global_variables]
4030 SET @@global.slave_type_conversions=15;
4031 Warnings:
4032 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4033 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4034 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4035 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4036 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4037 # Setting default value for variable
4038 SET @@global.slave_type_conversions = DEFAULT;
4039 Warnings:
4040 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4041 include/assert.inc [@@global.slave_type_conversions should be ]
4042 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4043 include/assert.inc [@@global.replica_type_conversions should be ]
4044 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4045 # Invalid values
4046 SET @@global.slave_type_conversions = 1.5;
4047 Got one of the listed errors
4048 SET @@global.slave_type_conversions = ON;
4049 Got one of the listed errors
4050 SET @@global.slave_type_conversions = 'x';
4051 Got one of the listed errors
4052 SET @@global.slave_type_conversions = NULL;
4053 Got one of the listed errors
4054 SET @@global.slave_type_conversions = 'FOO_BAR';
4055 Got one of the listed errors
4056 SET @@global.slave_type_conversions = -1;
4057 Got one of the listed errors
4058 SET @@global.slave_type_conversions = 16;
4059 Got one of the listed errors
4060 # Restore default
4061 SET @@global.slave_type_conversions = DEFAULT;
4062 Warnings:
4063 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4064 include/assert.inc [@@global.slave_type_conversions should be ]
4065 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4066 include/assert.inc [@@global.replica_type_conversions should be ]
4067 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4068 ==== Testing SET @@session.slave_type_conversions [invalid scope] ====
4069 SET @@session.slave_type_conversions = DEFAULT;
4070 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4071 SET @@slave_type_conversions = DEFAULT;
4072 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4073 SET @@session.slave_type_conversions = ALL_LOSSY;
4074 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4075 SET @@slave_type_conversions = ALL_LOSSY;
4076 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4077 SET @@session.slave_type_conversions = 'ALL_NON_LOSSY';
4078 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4079 SET @@slave_type_conversions = 'ALL_NON_LOSSY';
4080 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4081 SET @@session.slave_type_conversions = '';
4082 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4083 SET @@slave_type_conversions = '';
4084 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4085 SET @@session.slave_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4086 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4087 SET @@slave_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4088 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4089 SET @@session.slave_type_conversions = 0;
4090 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4091 SET @@slave_type_conversions = 0;
4092 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4093 SET @@session.slave_type_conversions = 8;
4094 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4095 SET @@slave_type_conversions = 8;
4096 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4097 SET @@session.slave_type_conversions = 15;
4098 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4099 SET @@slave_type_conversions = 15;
4100 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4101 SELECT @@session.slave_type_conversions;
4102 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable
4103 SELECT @@slave_type_conversions;
4104 @@slave_type_conversions
4105
4106 Warnings:
4107 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4108 include/assert.inc [Variable slave_type_conversions should exist in performance_schema.session_variables]
4109 sysvar:
4110 - name=rpl_stop_replica_timeout
4111 - alias=rpl_stop_slave_timeout
4112 - invalid=[1.5, "ON", "'x'", "NULL"]
4113 - global=1
4114 - session=0
4115 - cmdline=1
4116 - persist=1
4117 - persist_as_readonly=0
4118 - dynamic=1
4119 - min=2
4120 - max=31536000
4121 - block_size=1
4122 - default=31536000
4123 - values=[100, 200, 3]
4124 ==== Testing SET @@global.rpl_stop_replica_timeout [allowed values, range, invalid values] ====
4125 # Initial value is default
4126 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4127 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4128 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4129 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4130 # Valid values for variable
4131 SET @@global.rpl_stop_replica_timeout=100;
4132 include/assert.inc [@@global.rpl_stop_replica_timeout should be 100]
4133 include/assert.inc [rpl_stop_replica_timeout should be 100 in P_S.global_variables]
4134 include/assert.inc [@@global.rpl_stop_slave_timeout should be 100]
4135 include/assert.inc [rpl_stop_slave_timeout should be 100 in P_S.global_variables]
4136 SET @@global.rpl_stop_replica_timeout=200;
4137 include/assert.inc [@@global.rpl_stop_replica_timeout should be 200]
4138 include/assert.inc [rpl_stop_replica_timeout should be 200 in P_S.global_variables]
4139 include/assert.inc [@@global.rpl_stop_slave_timeout should be 200]
4140 include/assert.inc [rpl_stop_slave_timeout should be 200 in P_S.global_variables]
4141 SET @@global.rpl_stop_replica_timeout=3;
4142 include/assert.inc [@@global.rpl_stop_replica_timeout should be 3]
4143 include/assert.inc [rpl_stop_replica_timeout should be 3 in P_S.global_variables]
4144 include/assert.inc [@@global.rpl_stop_slave_timeout should be 3]
4145 include/assert.inc [rpl_stop_slave_timeout should be 3 in P_S.global_variables]
4146 # Setting default value for variable
4147 SET @@global.rpl_stop_replica_timeout = DEFAULT;
4148 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4149 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4150 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4151 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4152 # Minimum value
4153 SET @@global.rpl_stop_replica_timeout = 2;
4154 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4155 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4156 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4157 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4158 include/assert.inc [Expected min value should equal min value in performance_schema]
4159 # Less-than-minimum values
4160 SET @@global.rpl_stop_replica_timeout = 1;
4161 Warnings:
4162 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '1'
4163 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4164 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4165 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4166 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4167 # Maximum value
4168 SET @@global.rpl_stop_replica_timeout = 31536000;
4169 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4170 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4171 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4172 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4173 include/assert.inc [Expected max value should equal max value in performance_schema]
4174 # Greater-than-maximum values
4175 SET @@global.rpl_stop_replica_timeout = 31536001;
4176 Warnings:
4177 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '31536001'
4178 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4179 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4180 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4181 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4182 # Invalid values
4183 SET @@global.rpl_stop_replica_timeout = 1.5;
4184 Got one of the listed errors
4185 SET @@global.rpl_stop_replica_timeout = ON;
4186 Got one of the listed errors
4187 SET @@global.rpl_stop_replica_timeout = 'x';
4188 Got one of the listed errors
4189 SET @@global.rpl_stop_replica_timeout = NULL;
4190 Got one of the listed errors
4191 # Restore default
4192 SET @@global.rpl_stop_replica_timeout = DEFAULT;
4193 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4194 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4195 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4196 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4197 ==== Testing SET @@session.rpl_stop_replica_timeout [invalid scope] ====
4198 SET @@session.rpl_stop_replica_timeout = DEFAULT;
4199 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4200 SET @@rpl_stop_replica_timeout = DEFAULT;
4201 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4202 SET @@session.rpl_stop_replica_timeout = 100;
4203 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4204 SET @@rpl_stop_replica_timeout = 100;
4205 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4206 SET @@session.rpl_stop_replica_timeout = 200;
4207 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4208 SET @@rpl_stop_replica_timeout = 200;
4209 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4210 SET @@session.rpl_stop_replica_timeout = 3;
4211 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4212 SET @@rpl_stop_replica_timeout = 3;
4213 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4214 SELECT @@session.rpl_stop_replica_timeout;
4215 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable
4216 SELECT @@rpl_stop_replica_timeout;
4217 @@rpl_stop_replica_timeout
4218 31536000
4219 include/assert.inc [Variable rpl_stop_replica_timeout should exist in performance_schema.session_variables]
4220 ==== Testing SET @@global.rpl_stop_slave_timeout [allowed values, range, invalid values] ====
4221 # Initial value is default
4222 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4223 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4224 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4225 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4226 # Valid values for variable
4227 SET @@global.rpl_stop_slave_timeout=100;
4228 Warnings:
4229 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4230 include/assert.inc [@@global.rpl_stop_slave_timeout should be 100]
4231 include/assert.inc [rpl_stop_slave_timeout should be 100 in P_S.global_variables]
4232 include/assert.inc [@@global.rpl_stop_replica_timeout should be 100]
4233 include/assert.inc [rpl_stop_replica_timeout should be 100 in P_S.global_variables]
4234 SET @@global.rpl_stop_slave_timeout=200;
4235 Warnings:
4236 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4237 include/assert.inc [@@global.rpl_stop_slave_timeout should be 200]
4238 include/assert.inc [rpl_stop_slave_timeout should be 200 in P_S.global_variables]
4239 include/assert.inc [@@global.rpl_stop_replica_timeout should be 200]
4240 include/assert.inc [rpl_stop_replica_timeout should be 200 in P_S.global_variables]
4241 SET @@global.rpl_stop_slave_timeout=3;
4242 Warnings:
4243 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4244 include/assert.inc [@@global.rpl_stop_slave_timeout should be 3]
4245 include/assert.inc [rpl_stop_slave_timeout should be 3 in P_S.global_variables]
4246 include/assert.inc [@@global.rpl_stop_replica_timeout should be 3]
4247 include/assert.inc [rpl_stop_replica_timeout should be 3 in P_S.global_variables]
4248 # Setting default value for variable
4249 SET @@global.rpl_stop_slave_timeout = DEFAULT;
4250 Warnings:
4251 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4252 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4253 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4254 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4255 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4256 # Minimum value
4257 SET @@global.rpl_stop_slave_timeout = 2;
4258 Warnings:
4259 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4260 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4261 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4262 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4263 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4264 include/assert.inc [Expected min value should equal min value in performance_schema]
4265 # Less-than-minimum values
4266 SET @@global.rpl_stop_slave_timeout = 1;
4267 Warnings:
4268 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4269 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '1'
4270 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4271 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4272 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4273 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4274 # Maximum value
4275 SET @@global.rpl_stop_slave_timeout = 31536000;
4276 Warnings:
4277 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4278 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4279 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4280 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4281 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4282 include/assert.inc [Expected max value should equal max value in performance_schema]
4283 # Greater-than-maximum values
4284 SET @@global.rpl_stop_slave_timeout = 31536001;
4285 Warnings:
4286 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4287 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '31536001'
4288 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4289 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4290 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4291 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4292 # Invalid values
4293 SET @@global.rpl_stop_slave_timeout = 1.5;
4294 Got one of the listed errors
4295 SET @@global.rpl_stop_slave_timeout = ON;
4296 Got one of the listed errors
4297 SET @@global.rpl_stop_slave_timeout = 'x';
4298 Got one of the listed errors
4299 SET @@global.rpl_stop_slave_timeout = NULL;
4300 Got one of the listed errors
4301 # Restore default
4302 SET @@global.rpl_stop_slave_timeout = DEFAULT;
4303 Warnings:
4304 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4305 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4306 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4307 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4308 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4309 ==== Testing SET @@session.rpl_stop_slave_timeout [invalid scope] ====
4310 SET @@session.rpl_stop_slave_timeout = DEFAULT;
4311 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4312 SET @@rpl_stop_slave_timeout = DEFAULT;
4313 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4314 SET @@session.rpl_stop_slave_timeout = 100;
4315 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4316 SET @@rpl_stop_slave_timeout = 100;
4317 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4318 SET @@session.rpl_stop_slave_timeout = 200;
4319 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4320 SET @@rpl_stop_slave_timeout = 200;
4321 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4322 SET @@session.rpl_stop_slave_timeout = 3;
4323 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4324 SET @@rpl_stop_slave_timeout = 3;
4325 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4326 SELECT @@session.rpl_stop_slave_timeout;
4327 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable
4328 SELECT @@rpl_stop_slave_timeout;
4329 @@rpl_stop_slave_timeout
4330 31536000
4331 Warnings:
4332 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4333 include/assert.inc [Variable rpl_stop_slave_timeout should exist in performance_schema.session_variables]
4334 sysvar:
4335 - name=source_verify_checksum
4336 - alias=master_verify_checksum
4337 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
4338 - global=1
4339 - session=0
4340 - cmdline=1
4341 - persist=1
4342 - persist_as_readonly=0
4343 - dynamic=1
4344 - min=
4345 - max=
4346 - block_size=1
4347 - default=0
4348 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
4349 ==== Testing SET @@global.source_verify_checksum [allowed values, range, invalid values] ====
4350 # Initial value is default
4351 include/assert.inc [@@global.source_verify_checksum should be 0]
4352 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4353 include/assert.inc [@@global.master_verify_checksum should be 0]
4354 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4355 # Valid values for variable
4356 SET @@global.source_verify_checksum=ON;
4357 include/assert.inc [@@global.source_verify_checksum should be 1]
4358 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4359 include/assert.inc [@@global.master_verify_checksum should be 1]
4360 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4361 SET @@global.source_verify_checksum=OFF;
4362 include/assert.inc [@@global.source_verify_checksum should be 0]
4363 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4364 include/assert.inc [@@global.master_verify_checksum should be 0]
4365 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4366 SET @@global.source_verify_checksum=1;
4367 include/assert.inc [@@global.source_verify_checksum should be 1]
4368 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4369 include/assert.inc [@@global.master_verify_checksum should be 1]
4370 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4371 SET @@global.source_verify_checksum=0;
4372 include/assert.inc [@@global.source_verify_checksum should be 0]
4373 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4374 include/assert.inc [@@global.master_verify_checksum should be 0]
4375 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4376 SET @@global.source_verify_checksum=TRUE;
4377 include/assert.inc [@@global.source_verify_checksum should be 1]
4378 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4379 include/assert.inc [@@global.master_verify_checksum should be 1]
4380 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4381 SET @@global.source_verify_checksum=FALSE;
4382 include/assert.inc [@@global.source_verify_checksum should be 0]
4383 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4384 include/assert.inc [@@global.master_verify_checksum should be 0]
4385 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4386 SET @@global.source_verify_checksum='ON';
4387 include/assert.inc [@@global.source_verify_checksum should be 1]
4388 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4389 include/assert.inc [@@global.master_verify_checksum should be 1]
4390 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4391 SET @@global.source_verify_checksum='OFF';
4392 include/assert.inc [@@global.source_verify_checksum should be 0]
4393 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4394 include/assert.inc [@@global.master_verify_checksum should be 0]
4395 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4396 # Setting default value for variable
4397 SET @@global.source_verify_checksum = DEFAULT;
4398 include/assert.inc [@@global.source_verify_checksum should be 0]
4399 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4400 include/assert.inc [@@global.master_verify_checksum should be 0]
4401 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4402 # Invalid values
4403 SET @@global.source_verify_checksum = 0.1;
4404 Got one of the listed errors
4405 SET @@global.source_verify_checksum = 2;
4406 Got one of the listed errors
4407 SET @@global.source_verify_checksum = -1;
4408 Got one of the listed errors
4409 SET @@global.source_verify_checksum = '';
4410 Got one of the listed errors
4411 SET @@global.source_verify_checksum = 'x';
4412 Got one of the listed errors
4413 SET @@global.source_verify_checksum = 'TRUE';
4414 Got one of the listed errors
4415 SET @@global.source_verify_checksum = '1';
4416 Got one of the listed errors
4417 SET @@global.source_verify_checksum = NULL;
4418 Got one of the listed errors
4419 # Restore default
4420 SET @@global.source_verify_checksum = DEFAULT;
4421 include/assert.inc [@@global.source_verify_checksum should be 0]
4422 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4423 include/assert.inc [@@global.master_verify_checksum should be 0]
4424 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4425 ==== Testing SET @@session.source_verify_checksum [invalid scope] ====
4426 SET @@session.source_verify_checksum = DEFAULT;
4427 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4428 SET @@source_verify_checksum = DEFAULT;
4429 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4430 SET @@session.source_verify_checksum = ON;
4431 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4432 SET @@source_verify_checksum = ON;
4433 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4434 SET @@session.source_verify_checksum = OFF;
4435 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4436 SET @@source_verify_checksum = OFF;
4437 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4438 SET @@session.source_verify_checksum = 1;
4439 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4440 SET @@source_verify_checksum = 1;
4441 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4442 SET @@session.source_verify_checksum = 0;
4443 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4444 SET @@source_verify_checksum = 0;
4445 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4446 SET @@session.source_verify_checksum = TRUE;
4447 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4448 SET @@source_verify_checksum = TRUE;
4449 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4450 SET @@session.source_verify_checksum = FALSE;
4451 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4452 SET @@source_verify_checksum = FALSE;
4453 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4454 SET @@session.source_verify_checksum = 'ON';
4455 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4456 SET @@source_verify_checksum = 'ON';
4457 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4458 SET @@session.source_verify_checksum = 'OFF';
4459 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4460 SET @@source_verify_checksum = 'OFF';
4461 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4462 SELECT @@session.source_verify_checksum;
4463 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable
4464 SELECT @@source_verify_checksum;
4465 @@source_verify_checksum
4466 0
4467 include/assert.inc [Variable source_verify_checksum should exist in performance_schema.session_variables]
4468 ==== Testing SET @@global.master_verify_checksum [allowed values, range, invalid values] ====
4469 # Initial value is default
4470 include/assert.inc [@@global.master_verify_checksum should be 0]
4471 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4472 include/assert.inc [@@global.source_verify_checksum should be 0]
4473 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4474 # Valid values for variable
4475 SET @@global.master_verify_checksum=ON;
4476 Warnings:
4477 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4478 include/assert.inc [@@global.master_verify_checksum should be 1]
4479 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4480 include/assert.inc [@@global.source_verify_checksum should be 1]
4481 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4482 SET @@global.master_verify_checksum=OFF;
4483 Warnings:
4484 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4485 include/assert.inc [@@global.master_verify_checksum should be 0]
4486 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4487 include/assert.inc [@@global.source_verify_checksum should be 0]
4488 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4489 SET @@global.master_verify_checksum=1;
4490 Warnings:
4491 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4492 include/assert.inc [@@global.master_verify_checksum should be 1]
4493 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4494 include/assert.inc [@@global.source_verify_checksum should be 1]
4495 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4496 SET @@global.master_verify_checksum=0;
4497 Warnings:
4498 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4499 include/assert.inc [@@global.master_verify_checksum should be 0]
4500 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4501 include/assert.inc [@@global.source_verify_checksum should be 0]
4502 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4503 SET @@global.master_verify_checksum=TRUE;
4504 Warnings:
4505 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4506 include/assert.inc [@@global.master_verify_checksum should be 1]
4507 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4508 include/assert.inc [@@global.source_verify_checksum should be 1]
4509 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4510 SET @@global.master_verify_checksum=FALSE;
4511 Warnings:
4512 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4513 include/assert.inc [@@global.master_verify_checksum should be 0]
4514 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4515 include/assert.inc [@@global.source_verify_checksum should be 0]
4516 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4517 SET @@global.master_verify_checksum='ON';
4518 Warnings:
4519 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4520 include/assert.inc [@@global.master_verify_checksum should be 1]
4521 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4522 include/assert.inc [@@global.source_verify_checksum should be 1]
4523 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4524 SET @@global.master_verify_checksum='OFF';
4525 Warnings:
4526 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4527 include/assert.inc [@@global.master_verify_checksum should be 0]
4528 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4529 include/assert.inc [@@global.source_verify_checksum should be 0]
4530 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4531 # Setting default value for variable
4532 SET @@global.master_verify_checksum = DEFAULT;
4533 Warnings:
4534 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4535 include/assert.inc [@@global.master_verify_checksum should be 0]
4536 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4537 include/assert.inc [@@global.source_verify_checksum should be 0]
4538 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4539 # Invalid values
4540 SET @@global.master_verify_checksum = 0.1;
4541 Got one of the listed errors
4542 SET @@global.master_verify_checksum = 2;
4543 Got one of the listed errors
4544 SET @@global.master_verify_checksum = -1;
4545 Got one of the listed errors
4546 SET @@global.master_verify_checksum = '';
4547 Got one of the listed errors
4548 SET @@global.master_verify_checksum = 'x';
4549 Got one of the listed errors
4550 SET @@global.master_verify_checksum = 'TRUE';
4551 Got one of the listed errors
4552 SET @@global.master_verify_checksum = '1';
4553 Got one of the listed errors
4554 SET @@global.master_verify_checksum = NULL;
4555 Got one of the listed errors
4556 # Restore default
4557 SET @@global.master_verify_checksum = DEFAULT;
4558 Warnings:
4559 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4560 include/assert.inc [@@global.master_verify_checksum should be 0]
4561 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4562 include/assert.inc [@@global.source_verify_checksum should be 0]
4563 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4564 ==== Testing SET @@session.master_verify_checksum [invalid scope] ====
4565 SET @@session.master_verify_checksum = DEFAULT;
4566 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4567 SET @@master_verify_checksum = DEFAULT;
4568 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4569 SET @@session.master_verify_checksum = ON;
4570 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4571 SET @@master_verify_checksum = ON;
4572 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4573 SET @@session.master_verify_checksum = OFF;
4574 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4575 SET @@master_verify_checksum = OFF;
4576 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4577 SET @@session.master_verify_checksum = 1;
4578 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4579 SET @@master_verify_checksum = 1;
4580 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4581 SET @@session.master_verify_checksum = 0;
4582 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4583 SET @@master_verify_checksum = 0;
4584 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4585 SET @@session.master_verify_checksum = TRUE;
4586 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4587 SET @@master_verify_checksum = TRUE;
4588 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4589 SET @@session.master_verify_checksum = FALSE;
4590 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4591 SET @@master_verify_checksum = FALSE;
4592 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4593 SET @@session.master_verify_checksum = 'ON';
4594 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4595 SET @@master_verify_checksum = 'ON';
4596 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4597 SET @@session.master_verify_checksum = 'OFF';
4598 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4599 SET @@master_verify_checksum = 'OFF';
4600 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4601 SELECT @@session.master_verify_checksum;
4602 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable
4603 SELECT @@master_verify_checksum;
4604 @@master_verify_checksum
4605 0
4606 Warnings:
4607 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4608 include/assert.inc [Variable master_verify_checksum should exist in performance_schema.session_variables]
4609 sysvar:
4610 - name=sql_replica_skip_counter
4611 - alias=sql_slave_skip_counter
4612 - invalid=[1.5, "ON", "'x'", "NULL"]
4613 - global=1
4614 - session=0
4615 - cmdline=0
4616 - persist=1
4617 - persist_as_readonly=0
4618 - dynamic=1
4619 - min=0
4620 - max=4294967295
4621 - block_size=1
4622 - default=0
4623 - values=[1, 2, 12323]
4624 ==== Testing SET @@global.sql_replica_skip_counter [allowed values, range, invalid values] ====
4625 # Initial value is default
4626 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4627 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4628 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4629 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4630 # Valid values for variable
4631 SET @@global.sql_replica_skip_counter=1;
4632 include/assert.inc [@@global.sql_replica_skip_counter should be 1]
4633 include/assert.inc [sql_replica_skip_counter should be 1 in P_S.global_variables]
4634 include/assert.inc [@@global.sql_slave_skip_counter should be 1]
4635 include/assert.inc [sql_slave_skip_counter should be 1 in P_S.global_variables]
4636 SET @@global.sql_replica_skip_counter=2;
4637 include/assert.inc [@@global.sql_replica_skip_counter should be 2]
4638 include/assert.inc [sql_replica_skip_counter should be 2 in P_S.global_variables]
4639 include/assert.inc [@@global.sql_slave_skip_counter should be 2]
4640 include/assert.inc [sql_slave_skip_counter should be 2 in P_S.global_variables]
4641 SET @@global.sql_replica_skip_counter=12323;
4642 include/assert.inc [@@global.sql_replica_skip_counter should be 12323]
4643 include/assert.inc [sql_replica_skip_counter should be 12323 in P_S.global_variables]
4644 include/assert.inc [@@global.sql_slave_skip_counter should be 12323]
4645 include/assert.inc [sql_slave_skip_counter should be 12323 in P_S.global_variables]
4646 # Setting default value for variable
4647 SET @@global.sql_replica_skip_counter = DEFAULT;
4648 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4649 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4650 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4651 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4652 # Minimum value
4653 SET @@global.sql_replica_skip_counter = 0;
4654 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4655 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4656 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4657 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4658 include/assert.inc [Expected min value should equal min value in performance_schema]
4659 # Less-than-minimum values
4660 SET @@global.sql_replica_skip_counter = -1;
4661 Warnings:
4662 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '-1'
4663 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4664 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4665 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4666 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4667 # Maximum value
4668 SET @@global.sql_replica_skip_counter = 4294967295;
4669 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4670 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4671 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4672 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4673 include/assert.inc [Expected max value should equal max value in performance_schema]
4674 # Greater-than-maximum values
4675 SET @@global.sql_replica_skip_counter = 4294967296;
4676 Warnings:
4677 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '4294967296'
4678 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4679 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4680 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4681 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4682 # Invalid values
4683 SET @@global.sql_replica_skip_counter = 1.5;
4684 Got one of the listed errors
4685 SET @@global.sql_replica_skip_counter = ON;
4686 Got one of the listed errors
4687 SET @@global.sql_replica_skip_counter = 'x';
4688 Got one of the listed errors
4689 SET @@global.sql_replica_skip_counter = NULL;
4690 Got one of the listed errors
4691 # Restore default
4692 SET @@global.sql_replica_skip_counter = DEFAULT;
4693 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4694 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4695 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4696 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4697 ==== Testing SET @@session.sql_replica_skip_counter [invalid scope] ====
4698 SET @@session.sql_replica_skip_counter = DEFAULT;
4699 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4700 SET @@sql_replica_skip_counter = DEFAULT;
4701 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4702 SET @@session.sql_replica_skip_counter = 1;
4703 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4704 SET @@sql_replica_skip_counter = 1;
4705 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4706 SET @@session.sql_replica_skip_counter = 2;
4707 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4708 SET @@sql_replica_skip_counter = 2;
4709 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4710 SET @@session.sql_replica_skip_counter = 12323;
4711 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4712 SET @@sql_replica_skip_counter = 12323;
4713 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4714 SELECT @@session.sql_replica_skip_counter;
4715 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable
4716 SELECT @@sql_replica_skip_counter;
4717 @@sql_replica_skip_counter
4718 0
4719 include/assert.inc [Variable sql_replica_skip_counter should exist in performance_schema.session_variables]
4720 ==== Testing SET @@global.sql_slave_skip_counter [allowed values, range, invalid values] ====
4721 # Initial value is default
4722 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4723 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4724 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4725 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4726 # Valid values for variable
4727 SET @@global.sql_slave_skip_counter=1;
4728 Warnings:
4729 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4730 include/assert.inc [@@global.sql_slave_skip_counter should be 1]
4731 include/assert.inc [sql_slave_skip_counter should be 1 in P_S.global_variables]
4732 include/assert.inc [@@global.sql_replica_skip_counter should be 1]
4733 include/assert.inc [sql_replica_skip_counter should be 1 in P_S.global_variables]
4734 SET @@global.sql_slave_skip_counter=2;
4735 Warnings:
4736 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4737 include/assert.inc [@@global.sql_slave_skip_counter should be 2]
4738 include/assert.inc [sql_slave_skip_counter should be 2 in P_S.global_variables]
4739 include/assert.inc [@@global.sql_replica_skip_counter should be 2]
4740 include/assert.inc [sql_replica_skip_counter should be 2 in P_S.global_variables]
4741 SET @@global.sql_slave_skip_counter=12323;
4742 Warnings:
4743 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4744 include/assert.inc [@@global.sql_slave_skip_counter should be 12323]
4745 include/assert.inc [sql_slave_skip_counter should be 12323 in P_S.global_variables]
4746 include/assert.inc [@@global.sql_replica_skip_counter should be 12323]
4747 include/assert.inc [sql_replica_skip_counter should be 12323 in P_S.global_variables]
4748 # Setting default value for variable
4749 SET @@global.sql_slave_skip_counter = DEFAULT;
4750 Warnings:
4751 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4752 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4753 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4754 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4755 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4756 # Minimum value
4757 SET @@global.sql_slave_skip_counter = 0;
4758 Warnings:
4759 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4760 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4761 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4762 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4763 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4764 include/assert.inc [Expected min value should equal min value in performance_schema]
4765 # Less-than-minimum values
4766 SET @@global.sql_slave_skip_counter = -1;
4767 Warnings:
4768 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4769 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '-1'
4770 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4771 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4772 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4773 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4774 # Maximum value
4775 SET @@global.sql_slave_skip_counter = 4294967295;
4776 Warnings:
4777 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4778 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4779 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4780 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4781 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4782 include/assert.inc [Expected max value should equal max value in performance_schema]
4783 # Greater-than-maximum values
4784 SET @@global.sql_slave_skip_counter = 4294967296;
4785 Warnings:
4786 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4787 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '4294967296'
4788 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4789 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4790 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4791 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4792 # Invalid values
4793 SET @@global.sql_slave_skip_counter = 1.5;
4794 Got one of the listed errors
4795 SET @@global.sql_slave_skip_counter = ON;
4796 Got one of the listed errors
4797 SET @@global.sql_slave_skip_counter = 'x';
4798 Got one of the listed errors
4799 SET @@global.sql_slave_skip_counter = NULL;
4800 Got one of the listed errors
4801 # Restore default
4802 SET @@global.sql_slave_skip_counter = DEFAULT;
4803 Warnings:
4804 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4805 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4806 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4807 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4808 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4809 ==== Testing SET @@session.sql_slave_skip_counter [invalid scope] ====
4810 SET @@session.sql_slave_skip_counter = DEFAULT;
4811 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4812 SET @@sql_slave_skip_counter = DEFAULT;
4813 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4814 SET @@session.sql_slave_skip_counter = 1;
4815 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4816 SET @@sql_slave_skip_counter = 1;
4817 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4818 SET @@session.sql_slave_skip_counter = 2;
4819 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4820 SET @@sql_slave_skip_counter = 2;
4821 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4822 SET @@session.sql_slave_skip_counter = 12323;
4823 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4824 SET @@sql_slave_skip_counter = 12323;
4825 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4826 SELECT @@session.sql_slave_skip_counter;
4827 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable
4828 SELECT @@sql_slave_skip_counter;
4829 @@sql_slave_skip_counter
4830 0
4831 Warnings:
4832 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4833 include/assert.inc [Variable sql_slave_skip_counter should exist in performance_schema.session_variables]
4834 sysvar:
4835 - name=sync_source_info
4836 - alias=sync_master_info
4837 - invalid=[1.5, "ON", "'x'", "NULL"]
4838 - global=1
4839 - session=0
4840 - cmdline=1
4841 - persist=1
4842 - persist_as_readonly=0
4843 - dynamic=1
4844 - min=0
4845 - max=4294967295
4846 - block_size=1
4847 - default=10000
4848 - values=[1, 999, 123456]
4849 ==== Testing SET @@global.sync_source_info [allowed values, range, invalid values] ====
4850 # Initial value is default
4851 include/assert.inc [@@global.sync_source_info should be 10000]
4852 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4853 include/assert.inc [@@global.sync_master_info should be 10000]
4854 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4855 # Valid values for variable
4856 SET @@global.sync_source_info=1;
4857 include/assert.inc [@@global.sync_source_info should be 1]
4858 include/assert.inc [sync_source_info should be 1 in P_S.global_variables]
4859 include/assert.inc [@@global.sync_master_info should be 1]
4860 include/assert.inc [sync_master_info should be 1 in P_S.global_variables]
4861 SET @@global.sync_source_info=999;
4862 include/assert.inc [@@global.sync_source_info should be 999]
4863 include/assert.inc [sync_source_info should be 999 in P_S.global_variables]
4864 include/assert.inc [@@global.sync_master_info should be 999]
4865 include/assert.inc [sync_master_info should be 999 in P_S.global_variables]
4866 SET @@global.sync_source_info=123456;
4867 include/assert.inc [@@global.sync_source_info should be 123456]
4868 include/assert.inc [sync_source_info should be 123456 in P_S.global_variables]
4869 include/assert.inc [@@global.sync_master_info should be 123456]
4870 include/assert.inc [sync_master_info should be 123456 in P_S.global_variables]
4871 # Setting default value for variable
4872 SET @@global.sync_source_info = DEFAULT;
4873 include/assert.inc [@@global.sync_source_info should be 10000]
4874 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4875 include/assert.inc [@@global.sync_master_info should be 10000]
4876 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4877 # Minimum value
4878 SET @@global.sync_source_info = 0;
4879 include/assert.inc [@@global.sync_source_info should be 0]
4880 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4881 include/assert.inc [@@global.sync_master_info should be 0]
4882 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4883 include/assert.inc [Expected min value should equal min value in performance_schema]
4884 # Less-than-minimum values
4885 SET @@global.sync_source_info = -1;
4886 Warnings:
4887 Warning 1292 Truncated incorrect sync_source_info value: '-1'
4888 include/assert.inc [@@global.sync_source_info should be 0]
4889 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4890 include/assert.inc [@@global.sync_master_info should be 0]
4891 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4892 # Maximum value
4893 SET @@global.sync_source_info = 4294967295;
4894 include/assert.inc [@@global.sync_source_info should be 4294967295]
4895 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
4896 include/assert.inc [@@global.sync_master_info should be 4294967295]
4897 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
4898 include/assert.inc [Expected max value should equal max value in performance_schema]
4899 # Greater-than-maximum values
4900 SET @@global.sync_source_info = 4294967296;
4901 Warnings:
4902 Warning 1292 Truncated incorrect sync_source_info value: '4294967296'
4903 include/assert.inc [@@global.sync_source_info should be 4294967295]
4904 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
4905 include/assert.inc [@@global.sync_master_info should be 4294967295]
4906 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
4907 # Invalid values
4908 SET @@global.sync_source_info = 1.5;
4909 Got one of the listed errors
4910 SET @@global.sync_source_info = ON;
4911 Got one of the listed errors
4912 SET @@global.sync_source_info = 'x';
4913 Got one of the listed errors
4914 SET @@global.sync_source_info = NULL;
4915 Got one of the listed errors
4916 # Restore default
4917 SET @@global.sync_source_info = DEFAULT;
4918 include/assert.inc [@@global.sync_source_info should be 10000]
4919 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4920 include/assert.inc [@@global.sync_master_info should be 10000]
4921 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4922 ==== Testing SET @@session.sync_source_info [invalid scope] ====
4923 SET @@session.sync_source_info = DEFAULT;
4924 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4925 SET @@sync_source_info = DEFAULT;
4926 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4927 SET @@session.sync_source_info = 1;
4928 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4929 SET @@sync_source_info = 1;
4930 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4931 SET @@session.sync_source_info = 999;
4932 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4933 SET @@sync_source_info = 999;
4934 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4935 SET @@session.sync_source_info = 123456;
4936 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4937 SET @@sync_source_info = 123456;
4938 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4939 SELECT @@session.sync_source_info;
4940 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable
4941 SELECT @@sync_source_info;
4942 @@sync_source_info
4943 10000
4944 include/assert.inc [Variable sync_source_info should exist in performance_schema.session_variables]
4945 ==== Testing SET @@global.sync_master_info [allowed values, range, invalid values] ====
4946 # Initial value is default
4947 include/assert.inc [@@global.sync_master_info should be 10000]
4948 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4949 include/assert.inc [@@global.sync_source_info should be 10000]
4950 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4951 # Valid values for variable
4952 SET @@global.sync_master_info=1;
4953 Warnings:
4954 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
4955 include/assert.inc [@@global.sync_master_info should be 1]
4956 include/assert.inc [sync_master_info should be 1 in P_S.global_variables]
4957 include/assert.inc [@@global.sync_source_info should be 1]
4958 include/assert.inc [sync_source_info should be 1 in P_S.global_variables]
4959 SET @@global.sync_master_info=999;
4960 Warnings:
4961 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
4962 include/assert.inc [@@global.sync_master_info should be 999]
4963 include/assert.inc [sync_master_info should be 999 in P_S.global_variables]
4964 include/assert.inc [@@global.sync_source_info should be 999]
4965 include/assert.inc [sync_source_info should be 999 in P_S.global_variables]
4966 SET @@global.sync_master_info=123456;
4967 Warnings:
4968 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
4969 include/assert.inc [@@global.sync_master_info should be 123456]
4970 include/assert.inc [sync_master_info should be 123456 in P_S.global_variables]
4971 include/assert.inc [@@global.sync_source_info should be 123456]
4972 include/assert.inc [sync_source_info should be 123456 in P_S.global_variables]
4973 # Setting default value for variable
4974 SET @@global.sync_master_info = DEFAULT;
4975 Warnings:
4976 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
4977 include/assert.inc [@@global.sync_master_info should be 10000]
4978 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4979 include/assert.inc [@@global.sync_source_info should be 10000]
4980 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4981 # Minimum value
4982 SET @@global.sync_master_info = 0;
4983 Warnings:
4984 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
4985 include/assert.inc [@@global.sync_master_info should be 0]
4986 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4987 include/assert.inc [@@global.sync_source_info should be 0]
4988 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4989 include/assert.inc [Expected min value should equal min value in performance_schema]
4990 # Less-than-minimum values
4991 SET @@global.sync_master_info = -1;
4992 Warnings:
4993 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
4994 Warning 1292 Truncated incorrect sync_source_info value: '-1'
4995 include/assert.inc [@@global.sync_master_info should be 0]
4996 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4997 include/assert.inc [@@global.sync_source_info should be 0]
4998 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4999 # Maximum value
5000 SET @@global.sync_master_info = 4294967295;
5001 Warnings:
5002 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5003 include/assert.inc [@@global.sync_master_info should be 4294967295]
5004 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
5005 include/assert.inc [@@global.sync_source_info should be 4294967295]
5006 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
5007 include/assert.inc [Expected max value should equal max value in performance_schema]
5008 # Greater-than-maximum values
5009 SET @@global.sync_master_info = 4294967296;
5010 Warnings:
5011 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5012 Warning 1292 Truncated incorrect sync_source_info value: '4294967296'
5013 include/assert.inc [@@global.sync_master_info should be 4294967295]
5014 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
5015 include/assert.inc [@@global.sync_source_info should be 4294967295]
5016 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
5017 # Invalid values
5018 SET @@global.sync_master_info = 1.5;
5019 Got one of the listed errors
5020 SET @@global.sync_master_info = ON;
5021 Got one of the listed errors
5022 SET @@global.sync_master_info = 'x';
5023 Got one of the listed errors
5024 SET @@global.sync_master_info = NULL;
5025 Got one of the listed errors
5026 # Restore default
5027 SET @@global.sync_master_info = DEFAULT;
5028 Warnings:
5029 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5030 include/assert.inc [@@global.sync_master_info should be 10000]
5031 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
5032 include/assert.inc [@@global.sync_source_info should be 10000]
5033 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
5034 ==== Testing SET @@session.sync_master_info [invalid scope] ====
5035 SET @@session.sync_master_info = DEFAULT;
5036 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5037 SET @@sync_master_info = DEFAULT;
5038 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5039 SET @@session.sync_master_info = 1;
5040 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5041 SET @@sync_master_info = 1;
5042 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5043 SET @@session.sync_master_info = 999;
5044 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5045 SET @@sync_master_info = 999;
5046 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5047 SET @@session.sync_master_info = 123456;
5048 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5049 SET @@sync_master_info = 123456;
5050 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5051 SELECT @@session.sync_master_info;
5052 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable
5053 SELECT @@sync_master_info;
5054 @@sync_master_info
5055 10000
5056 Warnings:
5057 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5058 include/assert.inc [Variable sync_master_info should exist in performance_schema.session_variables]
5059 #### Clean up ####