Debian Codegraph @

mysql-test/suite/sys_vars/r/sysvars_with_aliases_64bit_nodebug.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=32
946 - max=524280
947 - block_size=8
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 = 32;
980 include/assert.inc [@@global.replica_checkpoint_group should be 32]
981 include/assert.inc [replica_checkpoint_group should be 32 in P_S.global_variables]
982 include/assert.inc [@@global.slave_checkpoint_group should be 32]
983 include/assert.inc [slave_checkpoint_group should be 32 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 = 31;
987 Warnings:
988 Warning 1292 Truncated incorrect replica_checkpoint_group value: '31'
989 include/assert.inc [@@global.replica_checkpoint_group should be 32]
990 include/assert.inc [replica_checkpoint_group should be 32 in P_S.global_variables]
991 include/assert.inc [@@global.slave_checkpoint_group should be 32]
992 include/assert.inc [slave_checkpoint_group should be 32 in P_S.global_variables]
993 SET @@global.replica_checkpoint_group = 24;
994 Warnings:
995 Warning 1292 Truncated incorrect replica_checkpoint_group value: '24'
996 include/assert.inc [@@global.replica_checkpoint_group should be 32]
997 include/assert.inc [replica_checkpoint_group should be 32 in P_S.global_variables]
998 include/assert.inc [@@global.slave_checkpoint_group should be 32]
999 include/assert.inc [slave_checkpoint_group should be 32 in P_S.global_variables]
1000 # Maximum value
1001 SET @@global.replica_checkpoint_group = 524280;
1002 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1003 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1004 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1005 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1006 include/assert.inc [Expected max value should equal max value in performance_schema]
1007 # Greater-than-maximum values
1008 SET @@global.replica_checkpoint_group = 524281;
1009 Warnings:
1010 Warning 1292 Truncated incorrect replica_checkpoint_group value: '524281'
1011 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1012 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1013 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1014 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1015 SET @@global.replica_checkpoint_group = 524288;
1016 Warnings:
1017 Warning 1292 Truncated incorrect replica_checkpoint_group value: '524288'
1018 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1019 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1020 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1021 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1022 # Non-block-size value
1023 SET @@global.replica_checkpoint_group = 519;
1024 Warnings:
1025 Warning 1292 Truncated incorrect replica_checkpoint_group value: '519'
1026 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1027 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1028 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1029 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1030 # Invalid values
1031 SET @@global.replica_checkpoint_group = 1.5;
1032 Got one of the listed errors
1033 SET @@global.replica_checkpoint_group = ON;
1034 Got one of the listed errors
1035 SET @@global.replica_checkpoint_group = 'x';
1036 Got one of the listed errors
1037 SET @@global.replica_checkpoint_group = NULL;
1038 Got one of the listed errors
1039 # Restore default
1040 SET @@global.replica_checkpoint_group = DEFAULT;
1041 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1042 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1043 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1044 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1045 ==== Testing SET @@session.replica_checkpoint_group [invalid scope] ====
1046 SET @@session.replica_checkpoint_group = DEFAULT;
1047 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1048 SET @@replica_checkpoint_group = DEFAULT;
1049 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1050 SET @@session.replica_checkpoint_group = 520;
1051 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1052 SET @@replica_checkpoint_group = 520;
1053 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1054 SET @@session.replica_checkpoint_group = 1000;
1055 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1056 SET @@replica_checkpoint_group = 1000;
1057 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1058 SET @@session.replica_checkpoint_group = 2000;
1059 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1060 SET @@replica_checkpoint_group = 2000;
1061 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1062 SELECT @@session.replica_checkpoint_group;
1063 ERROR HY000: Variable 'replica_checkpoint_group' is a GLOBAL variable
1064 SELECT @@replica_checkpoint_group;
1065 @@replica_checkpoint_group
1066 512
1067 include/assert.inc [Variable replica_checkpoint_group should exist in performance_schema.session_variables]
1068 ==== Testing SET @@global.slave_checkpoint_group [allowed values, range, invalid values] ====
1069 # Initial value is default
1070 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1071 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1072 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1073 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1074 # Valid values for variable
1075 SET @@global.slave_checkpoint_group=520;
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 520]
1079 include/assert.inc [slave_checkpoint_group should be 520 in P_S.global_variables]
1080 include/assert.inc [@@global.replica_checkpoint_group should be 520]
1081 include/assert.inc [replica_checkpoint_group should be 520 in P_S.global_variables]
1082 SET @@global.slave_checkpoint_group=1000;
1083 Warnings:
1084 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1085 include/assert.inc [@@global.slave_checkpoint_group should be 1000]
1086 include/assert.inc [slave_checkpoint_group should be 1000 in P_S.global_variables]
1087 include/assert.inc [@@global.replica_checkpoint_group should be 1000]
1088 include/assert.inc [replica_checkpoint_group should be 1000 in P_S.global_variables]
1089 SET @@global.slave_checkpoint_group=2000;
1090 Warnings:
1091 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1092 include/assert.inc [@@global.slave_checkpoint_group should be 2000]
1093 include/assert.inc [slave_checkpoint_group should be 2000 in P_S.global_variables]
1094 include/assert.inc [@@global.replica_checkpoint_group should be 2000]
1095 include/assert.inc [replica_checkpoint_group should be 2000 in P_S.global_variables]
1096 # Setting default value for variable
1097 SET @@global.slave_checkpoint_group = DEFAULT;
1098 Warnings:
1099 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1100 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1101 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1102 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1103 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1104 # Minimum value
1105 SET @@global.slave_checkpoint_group = 32;
1106 Warnings:
1107 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1108 include/assert.inc [@@global.slave_checkpoint_group should be 32]
1109 include/assert.inc [slave_checkpoint_group should be 32 in P_S.global_variables]
1110 include/assert.inc [@@global.replica_checkpoint_group should be 32]
1111 include/assert.inc [replica_checkpoint_group should be 32 in P_S.global_variables]
1112 include/assert.inc [Expected min value should equal min value in performance_schema]
1113 # Less-than-minimum values
1114 SET @@global.slave_checkpoint_group = 31;
1115 Warnings:
1116 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1117 Warning 1292 Truncated incorrect replica_checkpoint_group value: '31'
1118 include/assert.inc [@@global.slave_checkpoint_group should be 32]
1119 include/assert.inc [slave_checkpoint_group should be 32 in P_S.global_variables]
1120 include/assert.inc [@@global.replica_checkpoint_group should be 32]
1121 include/assert.inc [replica_checkpoint_group should be 32 in P_S.global_variables]
1122 SET @@global.slave_checkpoint_group = 24;
1123 Warnings:
1124 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1125 Warning 1292 Truncated incorrect replica_checkpoint_group value: '24'
1126 include/assert.inc [@@global.slave_checkpoint_group should be 32]
1127 include/assert.inc [slave_checkpoint_group should be 32 in P_S.global_variables]
1128 include/assert.inc [@@global.replica_checkpoint_group should be 32]
1129 include/assert.inc [replica_checkpoint_group should be 32 in P_S.global_variables]
1130 # Maximum value
1131 SET @@global.slave_checkpoint_group = 524280;
1132 Warnings:
1133 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1134 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1135 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1136 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1137 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1138 include/assert.inc [Expected max value should equal max value in performance_schema]
1139 # Greater-than-maximum values
1140 SET @@global.slave_checkpoint_group = 524281;
1141 Warnings:
1142 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1143 Warning 1292 Truncated incorrect replica_checkpoint_group value: '524281'
1144 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1145 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1146 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1147 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1148 SET @@global.slave_checkpoint_group = 524288;
1149 Warnings:
1150 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1151 Warning 1292 Truncated incorrect replica_checkpoint_group value: '524288'
1152 include/assert.inc [@@global.slave_checkpoint_group should be 524280]
1153 include/assert.inc [slave_checkpoint_group should be 524280 in P_S.global_variables]
1154 include/assert.inc [@@global.replica_checkpoint_group should be 524280]
1155 include/assert.inc [replica_checkpoint_group should be 524280 in P_S.global_variables]
1156 # Non-block-size value
1157 SET @@global.slave_checkpoint_group = 519;
1158 Warnings:
1159 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1160 Warning 1292 Truncated incorrect replica_checkpoint_group value: '519'
1161 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1162 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1163 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1164 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1165 # Invalid values
1166 SET @@global.slave_checkpoint_group = 1.5;
1167 Got one of the listed errors
1168 SET @@global.slave_checkpoint_group = ON;
1169 Got one of the listed errors
1170 SET @@global.slave_checkpoint_group = 'x';
1171 Got one of the listed errors
1172 SET @@global.slave_checkpoint_group = NULL;
1173 Got one of the listed errors
1174 # Restore default
1175 SET @@global.slave_checkpoint_group = DEFAULT;
1176 Warnings:
1177 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1178 include/assert.inc [@@global.slave_checkpoint_group should be 512]
1179 include/assert.inc [slave_checkpoint_group should be 512 in P_S.global_variables]
1180 include/assert.inc [@@global.replica_checkpoint_group should be 512]
1181 include/assert.inc [replica_checkpoint_group should be 512 in P_S.global_variables]
1182 ==== Testing SET @@session.slave_checkpoint_group [invalid scope] ====
1183 SET @@session.slave_checkpoint_group = DEFAULT;
1184 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1185 SET @@slave_checkpoint_group = DEFAULT;
1186 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1187 SET @@session.slave_checkpoint_group = 520;
1188 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1189 SET @@slave_checkpoint_group = 520;
1190 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1191 SET @@session.slave_checkpoint_group = 1000;
1192 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1193 SET @@slave_checkpoint_group = 1000;
1194 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1195 SET @@session.slave_checkpoint_group = 2000;
1196 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1197 SET @@slave_checkpoint_group = 2000;
1198 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable and should be set with SET GLOBAL
1199 SELECT @@session.slave_checkpoint_group;
1200 ERROR HY000: Variable 'slave_checkpoint_group' is a GLOBAL variable
1201 SELECT @@slave_checkpoint_group;
1202 @@slave_checkpoint_group
1203 512
1204 Warnings:
1205 Warning 1287 '@@slave_checkpoint_group' is deprecated and will be removed in a future release. Please use replica_checkpoint_group instead.
1206 include/assert.inc [Variable slave_checkpoint_group should exist in performance_schema.session_variables]
1207 sysvar:
1208 - name=replica_checkpoint_period
1209 - alias=slave_checkpoint_period
1210 - invalid=[1.5, "ON", "'x'", "NULL"]
1211 - global=1
1212 - session=0
1213 - cmdline=1
1214 - persist=1
1215 - persist_as_readonly=0
1216 - dynamic=1
1217 - min=1
1218 - max=4294967295
1219 - block_size=1
1220 - default=300
1221 - values=[1, 2, 12323]
1222 ==== Testing SET @@global.replica_checkpoint_period [allowed values, range, invalid values] ====
1223 # Initial value is default
1224 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1225 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1226 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1227 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1228 # Valid values for variable
1229 SET @@global.replica_checkpoint_period=1;
1230 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1231 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1232 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1233 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1234 SET @@global.replica_checkpoint_period=2;
1235 include/assert.inc [@@global.replica_checkpoint_period should be 2]
1236 include/assert.inc [replica_checkpoint_period should be 2 in P_S.global_variables]
1237 include/assert.inc [@@global.slave_checkpoint_period should be 2]
1238 include/assert.inc [slave_checkpoint_period should be 2 in P_S.global_variables]
1239 SET @@global.replica_checkpoint_period=12323;
1240 include/assert.inc [@@global.replica_checkpoint_period should be 12323]
1241 include/assert.inc [replica_checkpoint_period should be 12323 in P_S.global_variables]
1242 include/assert.inc [@@global.slave_checkpoint_period should be 12323]
1243 include/assert.inc [slave_checkpoint_period should be 12323 in P_S.global_variables]
1244 # Setting default value for variable
1245 SET @@global.replica_checkpoint_period = DEFAULT;
1246 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1247 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1248 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1249 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1250 # Minimum value
1251 SET @@global.replica_checkpoint_period = 1;
1252 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1253 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1254 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1255 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1256 include/assert.inc [Expected min value should equal min value in performance_schema]
1257 # Less-than-minimum values
1258 SET @@global.replica_checkpoint_period = 0;
1259 Warnings:
1260 Warning 1292 Truncated incorrect replica_checkpoint_period value: '0'
1261 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1262 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1263 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1264 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1265 # Maximum value
1266 SET @@global.replica_checkpoint_period = 4294967295;
1267 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1268 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1269 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1270 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1271 include/assert.inc [Expected max value should equal max value in performance_schema]
1272 # Greater-than-maximum values
1273 SET @@global.replica_checkpoint_period = 4294967296;
1274 Warnings:
1275 Warning 1292 Truncated incorrect replica_checkpoint_period value: '4294967296'
1276 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1277 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1278 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1279 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1280 # Invalid values
1281 SET @@global.replica_checkpoint_period = 1.5;
1282 Got one of the listed errors
1283 SET @@global.replica_checkpoint_period = ON;
1284 Got one of the listed errors
1285 SET @@global.replica_checkpoint_period = 'x';
1286 Got one of the listed errors
1287 SET @@global.replica_checkpoint_period = NULL;
1288 Got one of the listed errors
1289 # Restore default
1290 SET @@global.replica_checkpoint_period = DEFAULT;
1291 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1292 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1293 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1294 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1295 ==== Testing SET @@session.replica_checkpoint_period [invalid scope] ====
1296 SET @@session.replica_checkpoint_period = DEFAULT;
1297 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1298 SET @@replica_checkpoint_period = DEFAULT;
1299 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1300 SET @@session.replica_checkpoint_period = 1;
1301 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1302 SET @@replica_checkpoint_period = 1;
1303 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1304 SET @@session.replica_checkpoint_period = 2;
1305 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1306 SET @@replica_checkpoint_period = 2;
1307 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1308 SET @@session.replica_checkpoint_period = 12323;
1309 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1310 SET @@replica_checkpoint_period = 12323;
1311 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1312 SELECT @@session.replica_checkpoint_period;
1313 ERROR HY000: Variable 'replica_checkpoint_period' is a GLOBAL variable
1314 SELECT @@replica_checkpoint_period;
1315 @@replica_checkpoint_period
1316 300
1317 include/assert.inc [Variable replica_checkpoint_period should exist in performance_schema.session_variables]
1318 ==== Testing SET @@global.slave_checkpoint_period [allowed values, range, invalid values] ====
1319 # Initial value is default
1320 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1321 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1322 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1323 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1324 # Valid values for variable
1325 SET @@global.slave_checkpoint_period=1;
1326 Warnings:
1327 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1328 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1329 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1330 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1331 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1332 SET @@global.slave_checkpoint_period=2;
1333 Warnings:
1334 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1335 include/assert.inc [@@global.slave_checkpoint_period should be 2]
1336 include/assert.inc [slave_checkpoint_period should be 2 in P_S.global_variables]
1337 include/assert.inc [@@global.replica_checkpoint_period should be 2]
1338 include/assert.inc [replica_checkpoint_period should be 2 in P_S.global_variables]
1339 SET @@global.slave_checkpoint_period=12323;
1340 Warnings:
1341 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1342 include/assert.inc [@@global.slave_checkpoint_period should be 12323]
1343 include/assert.inc [slave_checkpoint_period should be 12323 in P_S.global_variables]
1344 include/assert.inc [@@global.replica_checkpoint_period should be 12323]
1345 include/assert.inc [replica_checkpoint_period should be 12323 in P_S.global_variables]
1346 # Setting default value for variable
1347 SET @@global.slave_checkpoint_period = DEFAULT;
1348 Warnings:
1349 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1350 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1351 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1352 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1353 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1354 # Minimum value
1355 SET @@global.slave_checkpoint_period = 1;
1356 Warnings:
1357 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1358 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1359 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1360 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1361 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1362 include/assert.inc [Expected min value should equal min value in performance_schema]
1363 # Less-than-minimum values
1364 SET @@global.slave_checkpoint_period = 0;
1365 Warnings:
1366 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1367 Warning 1292 Truncated incorrect replica_checkpoint_period value: '0'
1368 include/assert.inc [@@global.slave_checkpoint_period should be 1]
1369 include/assert.inc [slave_checkpoint_period should be 1 in P_S.global_variables]
1370 include/assert.inc [@@global.replica_checkpoint_period should be 1]
1371 include/assert.inc [replica_checkpoint_period should be 1 in P_S.global_variables]
1372 # Maximum value
1373 SET @@global.slave_checkpoint_period = 4294967295;
1374 Warnings:
1375 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1376 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1377 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1378 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1379 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1380 include/assert.inc [Expected max value should equal max value in performance_schema]
1381 # Greater-than-maximum values
1382 SET @@global.slave_checkpoint_period = 4294967296;
1383 Warnings:
1384 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1385 Warning 1292 Truncated incorrect replica_checkpoint_period value: '4294967296'
1386 include/assert.inc [@@global.slave_checkpoint_period should be 4294967295]
1387 include/assert.inc [slave_checkpoint_period should be 4294967295 in P_S.global_variables]
1388 include/assert.inc [@@global.replica_checkpoint_period should be 4294967295]
1389 include/assert.inc [replica_checkpoint_period should be 4294967295 in P_S.global_variables]
1390 # Invalid values
1391 SET @@global.slave_checkpoint_period = 1.5;
1392 Got one of the listed errors
1393 SET @@global.slave_checkpoint_period = ON;
1394 Got one of the listed errors
1395 SET @@global.slave_checkpoint_period = 'x';
1396 Got one of the listed errors
1397 SET @@global.slave_checkpoint_period = NULL;
1398 Got one of the listed errors
1399 # Restore default
1400 SET @@global.slave_checkpoint_period = DEFAULT;
1401 Warnings:
1402 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1403 include/assert.inc [@@global.slave_checkpoint_period should be 300]
1404 include/assert.inc [slave_checkpoint_period should be 300 in P_S.global_variables]
1405 include/assert.inc [@@global.replica_checkpoint_period should be 300]
1406 include/assert.inc [replica_checkpoint_period should be 300 in P_S.global_variables]
1407 ==== Testing SET @@session.slave_checkpoint_period [invalid scope] ====
1408 SET @@session.slave_checkpoint_period = DEFAULT;
1409 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1410 SET @@slave_checkpoint_period = DEFAULT;
1411 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1412 SET @@session.slave_checkpoint_period = 1;
1413 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1414 SET @@slave_checkpoint_period = 1;
1415 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1416 SET @@session.slave_checkpoint_period = 2;
1417 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1418 SET @@slave_checkpoint_period = 2;
1419 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1420 SET @@session.slave_checkpoint_period = 12323;
1421 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1422 SET @@slave_checkpoint_period = 12323;
1423 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable and should be set with SET GLOBAL
1424 SELECT @@session.slave_checkpoint_period;
1425 ERROR HY000: Variable 'slave_checkpoint_period' is a GLOBAL variable
1426 SELECT @@slave_checkpoint_period;
1427 @@slave_checkpoint_period
1428 300
1429 Warnings:
1430 Warning 1287 '@@slave_checkpoint_period' is deprecated and will be removed in a future release. Please use replica_checkpoint_period instead.
1431 include/assert.inc [Variable slave_checkpoint_period should exist in performance_schema.session_variables]
1432 sysvar:
1433 - name=replica_compressed_protocol
1434 - alias=slave_compressed_protocol
1435 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
1436 - global=1
1437 - session=0
1438 - cmdline=1
1439 - persist=1
1440 - persist_as_readonly=0
1441 - dynamic=1
1442 - min=
1443 - max=
1444 - block_size=1
1445 - default=0
1446 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
1447 ==== Testing SET @@global.replica_compressed_protocol [allowed values, range, invalid values] ====
1448 # Initial value is 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 # Valid values for variable
1454 SET @@global.replica_compressed_protocol=ON;
1455 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1456 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1457 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1458 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1459 SET @@global.replica_compressed_protocol=OFF;
1460 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1461 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1462 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1463 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1464 SET @@global.replica_compressed_protocol=1;
1465 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1466 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1467 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1468 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1469 SET @@global.replica_compressed_protocol=0;
1470 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1471 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1472 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1473 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1474 SET @@global.replica_compressed_protocol=TRUE;
1475 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1476 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1477 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1478 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1479 SET @@global.replica_compressed_protocol=FALSE;
1480 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1481 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1482 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1483 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1484 SET @@global.replica_compressed_protocol='ON';
1485 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1486 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1487 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1488 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1489 SET @@global.replica_compressed_protocol='OFF';
1490 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1491 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1492 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1493 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1494 # Setting default value for variable
1495 SET @@global.replica_compressed_protocol = DEFAULT;
1496 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1497 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1498 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1499 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1500 # Invalid values
1501 SET @@global.replica_compressed_protocol = 0.1;
1502 Got one of the listed errors
1503 SET @@global.replica_compressed_protocol = 2;
1504 Got one of the listed errors
1505 SET @@global.replica_compressed_protocol = -1;
1506 Got one of the listed errors
1507 SET @@global.replica_compressed_protocol = '';
1508 Got one of the listed errors
1509 SET @@global.replica_compressed_protocol = 'x';
1510 Got one of the listed errors
1511 SET @@global.replica_compressed_protocol = 'TRUE';
1512 Got one of the listed errors
1513 SET @@global.replica_compressed_protocol = '1';
1514 Got one of the listed errors
1515 SET @@global.replica_compressed_protocol = NULL;
1516 Got one of the listed errors
1517 # Restore default
1518 SET @@global.replica_compressed_protocol = DEFAULT;
1519 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1520 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
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 ==== Testing SET @@session.replica_compressed_protocol [invalid scope] ====
1524 SET @@session.replica_compressed_protocol = DEFAULT;
1525 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1526 SET @@replica_compressed_protocol = DEFAULT;
1527 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1528 SET @@session.replica_compressed_protocol = ON;
1529 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1530 SET @@replica_compressed_protocol = ON;
1531 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1532 SET @@session.replica_compressed_protocol = OFF;
1533 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1534 SET @@replica_compressed_protocol = OFF;
1535 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1536 SET @@session.replica_compressed_protocol = 1;
1537 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1538 SET @@replica_compressed_protocol = 1;
1539 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1540 SET @@session.replica_compressed_protocol = 0;
1541 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1542 SET @@replica_compressed_protocol = 0;
1543 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1544 SET @@session.replica_compressed_protocol = TRUE;
1545 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1546 SET @@replica_compressed_protocol = TRUE;
1547 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1548 SET @@session.replica_compressed_protocol = FALSE;
1549 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1550 SET @@replica_compressed_protocol = FALSE;
1551 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1552 SET @@session.replica_compressed_protocol = 'ON';
1553 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1554 SET @@replica_compressed_protocol = 'ON';
1555 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1556 SET @@session.replica_compressed_protocol = 'OFF';
1557 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1558 SET @@replica_compressed_protocol = 'OFF';
1559 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1560 SELECT @@session.replica_compressed_protocol;
1561 ERROR HY000: Variable 'replica_compressed_protocol' is a GLOBAL variable
1562 SELECT @@replica_compressed_protocol;
1563 @@replica_compressed_protocol
1564 0
1565 include/assert.inc [Variable replica_compressed_protocol should exist in performance_schema.session_variables]
1566 ==== Testing SET @@global.slave_compressed_protocol [allowed values, range, invalid values] ====
1567 # Initial value is default
1568 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1569 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1570 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1571 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1572 # Valid values for variable
1573 SET @@global.slave_compressed_protocol=ON;
1574 Warnings:
1575 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1576 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1577 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1578 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1579 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1580 SET @@global.slave_compressed_protocol=OFF;
1581 Warnings:
1582 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1583 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1584 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1585 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1586 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1587 SET @@global.slave_compressed_protocol=1;
1588 Warnings:
1589 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1590 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1591 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1592 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1593 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1594 SET @@global.slave_compressed_protocol=0;
1595 Warnings:
1596 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1597 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1598 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1599 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1600 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1601 SET @@global.slave_compressed_protocol=TRUE;
1602 Warnings:
1603 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1604 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1605 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1606 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1607 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1608 SET @@global.slave_compressed_protocol=FALSE;
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 SET @@global.slave_compressed_protocol='ON';
1616 Warnings:
1617 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1618 include/assert.inc [@@global.slave_compressed_protocol should be 1]
1619 include/assert.inc [slave_compressed_protocol should be 1 in P_S.global_variables]
1620 include/assert.inc [@@global.replica_compressed_protocol should be 1]
1621 include/assert.inc [replica_compressed_protocol should be 1 in P_S.global_variables]
1622 SET @@global.slave_compressed_protocol='OFF';
1623 Warnings:
1624 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1625 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1626 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1627 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1628 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1629 # Setting default value for variable
1630 SET @@global.slave_compressed_protocol = DEFAULT;
1631 Warnings:
1632 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1633 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1634 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1635 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1636 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1637 # Invalid values
1638 SET @@global.slave_compressed_protocol = 0.1;
1639 Got one of the listed errors
1640 SET @@global.slave_compressed_protocol = 2;
1641 Got one of the listed errors
1642 SET @@global.slave_compressed_protocol = -1;
1643 Got one of the listed errors
1644 SET @@global.slave_compressed_protocol = '';
1645 Got one of the listed errors
1646 SET @@global.slave_compressed_protocol = 'x';
1647 Got one of the listed errors
1648 SET @@global.slave_compressed_protocol = 'TRUE';
1649 Got one of the listed errors
1650 SET @@global.slave_compressed_protocol = '1';
1651 Got one of the listed errors
1652 SET @@global.slave_compressed_protocol = NULL;
1653 Got one of the listed errors
1654 # Restore default
1655 SET @@global.slave_compressed_protocol = DEFAULT;
1656 Warnings:
1657 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1658 include/assert.inc [@@global.slave_compressed_protocol should be 0]
1659 include/assert.inc [slave_compressed_protocol should be 0 in P_S.global_variables]
1660 include/assert.inc [@@global.replica_compressed_protocol should be 0]
1661 include/assert.inc [replica_compressed_protocol should be 0 in P_S.global_variables]
1662 ==== Testing SET @@session.slave_compressed_protocol [invalid scope] ====
1663 SET @@session.slave_compressed_protocol = DEFAULT;
1664 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1665 SET @@slave_compressed_protocol = DEFAULT;
1666 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1667 SET @@session.slave_compressed_protocol = ON;
1668 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1669 SET @@slave_compressed_protocol = ON;
1670 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1671 SET @@session.slave_compressed_protocol = OFF;
1672 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1673 SET @@slave_compressed_protocol = OFF;
1674 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1675 SET @@session.slave_compressed_protocol = 1;
1676 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1677 SET @@slave_compressed_protocol = 1;
1678 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1679 SET @@session.slave_compressed_protocol = 0;
1680 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1681 SET @@slave_compressed_protocol = 0;
1682 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1683 SET @@session.slave_compressed_protocol = TRUE;
1684 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1685 SET @@slave_compressed_protocol = TRUE;
1686 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1687 SET @@session.slave_compressed_protocol = FALSE;
1688 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1689 SET @@slave_compressed_protocol = FALSE;
1690 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1691 SET @@session.slave_compressed_protocol = 'ON';
1692 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1693 SET @@slave_compressed_protocol = 'ON';
1694 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1695 SET @@session.slave_compressed_protocol = 'OFF';
1696 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1697 SET @@slave_compressed_protocol = 'OFF';
1698 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable and should be set with SET GLOBAL
1699 SELECT @@session.slave_compressed_protocol;
1700 ERROR HY000: Variable 'slave_compressed_protocol' is a GLOBAL variable
1701 SELECT @@slave_compressed_protocol;
1702 @@slave_compressed_protocol
1703 0
1704 Warnings:
1705 Warning 1287 '@@slave_compressed_protocol' is deprecated and will be removed in a future release. Please use replica_compressed_protocol instead.
1706 include/assert.inc [Variable slave_compressed_protocol should exist in performance_schema.session_variables]
1707 sysvar:
1708 - name=replica_exec_mode
1709 - alias=slave_exec_mode
1710 - invalid=[1.5, "ON", "'x'", "NULL", "'FOO_BAR'", -1, 2]
1711 - global=1
1712 - session=0
1713 - cmdline=1
1714 - persist=1
1715 - persist_as_readonly=0
1716 - dynamic=1
1717 - min=
1718 - max=
1719 - block_size=1
1720 - default=STRICT
1721 - values=["IDEMPOTENT", "STRICT", "'IDEMPOTENT'", 0, 1]
1722 ==== Testing SET @@global.replica_exec_mode [allowed values, range, invalid values] ====
1723 # Initial value is default
1724 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1725 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1726 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1727 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1728 # Valid values for variable
1729 SET @@global.replica_exec_mode=IDEMPOTENT;
1730 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1731 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1732 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1733 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1734 SET @@global.replica_exec_mode=STRICT;
1735 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1736 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1737 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1738 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1739 SET @@global.replica_exec_mode='IDEMPOTENT';
1740 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1741 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1742 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1743 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1744 SET @@global.replica_exec_mode=0;
1745 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1746 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1747 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1748 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1749 SET @@global.replica_exec_mode=1;
1750 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1751 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1752 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1753 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1754 # Setting default value for variable
1755 SET @@global.replica_exec_mode = DEFAULT;
1756 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1757 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1758 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1759 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1760 # Invalid values
1761 SET @@global.replica_exec_mode = 1.5;
1762 Got one of the listed errors
1763 SET @@global.replica_exec_mode = ON;
1764 Got one of the listed errors
1765 SET @@global.replica_exec_mode = 'x';
1766 Got one of the listed errors
1767 SET @@global.replica_exec_mode = NULL;
1768 Got one of the listed errors
1769 SET @@global.replica_exec_mode = 'FOO_BAR';
1770 Got one of the listed errors
1771 SET @@global.replica_exec_mode = -1;
1772 Got one of the listed errors
1773 SET @@global.replica_exec_mode = 2;
1774 Got one of the listed errors
1775 # Restore default
1776 SET @@global.replica_exec_mode = DEFAULT;
1777 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1778 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1779 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1780 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1781 ==== Testing SET @@session.replica_exec_mode [invalid scope] ====
1782 SET @@session.replica_exec_mode = DEFAULT;
1783 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1784 SET @@replica_exec_mode = DEFAULT;
1785 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1786 SET @@session.replica_exec_mode = IDEMPOTENT;
1787 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1788 SET @@replica_exec_mode = IDEMPOTENT;
1789 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1790 SET @@session.replica_exec_mode = STRICT;
1791 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1792 SET @@replica_exec_mode = STRICT;
1793 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1794 SET @@session.replica_exec_mode = 'IDEMPOTENT';
1795 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1796 SET @@replica_exec_mode = 'IDEMPOTENT';
1797 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1798 SET @@session.replica_exec_mode = 0;
1799 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1800 SET @@replica_exec_mode = 0;
1801 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1802 SET @@session.replica_exec_mode = 1;
1803 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1804 SET @@replica_exec_mode = 1;
1805 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1806 SELECT @@session.replica_exec_mode;
1807 ERROR HY000: Variable 'replica_exec_mode' is a GLOBAL variable
1808 SELECT @@replica_exec_mode;
1809 @@replica_exec_mode
1810 STRICT
1811 include/assert.inc [Variable replica_exec_mode should exist in performance_schema.session_variables]
1812 ==== Testing SET @@global.slave_exec_mode [allowed values, range, invalid values] ====
1813 # Initial value is default
1814 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1815 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1816 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1817 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1818 # Valid values for variable
1819 SET @@global.slave_exec_mode=IDEMPOTENT;
1820 Warnings:
1821 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1822 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1823 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1824 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1825 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1826 SET @@global.slave_exec_mode=STRICT;
1827 Warnings:
1828 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1829 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1830 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1831 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1832 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1833 SET @@global.slave_exec_mode='IDEMPOTENT';
1834 Warnings:
1835 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1836 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1837 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1838 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1839 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1840 SET @@global.slave_exec_mode=0;
1841 Warnings:
1842 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1843 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1844 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1845 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1846 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1847 SET @@global.slave_exec_mode=1;
1848 Warnings:
1849 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1850 include/assert.inc [@@global.slave_exec_mode should be IDEMPOTENT]
1851 include/assert.inc [slave_exec_mode should be IDEMPOTENT in P_S.global_variables]
1852 include/assert.inc [@@global.replica_exec_mode should be IDEMPOTENT]
1853 include/assert.inc [replica_exec_mode should be IDEMPOTENT in P_S.global_variables]
1854 # Setting default value for variable
1855 SET @@global.slave_exec_mode = DEFAULT;
1856 Warnings:
1857 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1858 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1859 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1860 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1861 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1862 # Invalid values
1863 SET @@global.slave_exec_mode = 1.5;
1864 Got one of the listed errors
1865 SET @@global.slave_exec_mode = ON;
1866 Got one of the listed errors
1867 SET @@global.slave_exec_mode = 'x';
1868 Got one of the listed errors
1869 SET @@global.slave_exec_mode = NULL;
1870 Got one of the listed errors
1871 SET @@global.slave_exec_mode = 'FOO_BAR';
1872 Got one of the listed errors
1873 SET @@global.slave_exec_mode = -1;
1874 Got one of the listed errors
1875 SET @@global.slave_exec_mode = 2;
1876 Got one of the listed errors
1877 # Restore default
1878 SET @@global.slave_exec_mode = DEFAULT;
1879 Warnings:
1880 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1881 include/assert.inc [@@global.slave_exec_mode should be STRICT]
1882 include/assert.inc [slave_exec_mode should be STRICT in P_S.global_variables]
1883 include/assert.inc [@@global.replica_exec_mode should be STRICT]
1884 include/assert.inc [replica_exec_mode should be STRICT in P_S.global_variables]
1885 ==== Testing SET @@session.slave_exec_mode [invalid scope] ====
1886 SET @@session.slave_exec_mode = DEFAULT;
1887 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1888 SET @@slave_exec_mode = DEFAULT;
1889 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1890 SET @@session.slave_exec_mode = IDEMPOTENT;
1891 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1892 SET @@slave_exec_mode = IDEMPOTENT;
1893 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1894 SET @@session.slave_exec_mode = STRICT;
1895 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1896 SET @@slave_exec_mode = STRICT;
1897 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1898 SET @@session.slave_exec_mode = 'IDEMPOTENT';
1899 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1900 SET @@slave_exec_mode = 'IDEMPOTENT';
1901 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1902 SET @@session.slave_exec_mode = 0;
1903 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1904 SET @@slave_exec_mode = 0;
1905 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1906 SET @@session.slave_exec_mode = 1;
1907 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1908 SET @@slave_exec_mode = 1;
1909 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable and should be set with SET GLOBAL
1910 SELECT @@session.slave_exec_mode;
1911 ERROR HY000: Variable 'slave_exec_mode' is a GLOBAL variable
1912 SELECT @@slave_exec_mode;
1913 @@slave_exec_mode
1914 STRICT
1915 Warnings:
1916 Warning 1287 '@@slave_exec_mode' is deprecated and will be removed in a future release. Please use replica_exec_mode instead.
1917 include/assert.inc [Variable slave_exec_mode should exist in performance_schema.session_variables]
1918 sysvar:
1919 - name=replica_load_tmpdir
1920 - alias=slave_load_tmpdir
1921 - invalid=["NULL", "ON"]
1922 - global=1
1923 - session=0
1924 - cmdline=1
1925 - persist=0
1926 - persist_as_readonly=0
1927 - dynamic=0
1928 - min=
1929 - max=
1930 - block_size=1
1931 - default=MASKED
1932 - values=MASKED
1933 ==== Testing SET @@global.replica_load_tmpdir [read-only] ====
1934 # Initial value is default
1935 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1936 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1937 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1938 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1939 # Valid values for *read-only* variable cannot be set
1940 SET @@global.replica_load_tmpdir = VALUE;
1941 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1942 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1943 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1944 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1945 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1946 SET @@global.replica_load_tmpdir = VALUE;
1947 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1948 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1949 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1950 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1951 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1952 SET @@global.replica_load_tmpdir = VALUE;
1953 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1954 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1955 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1956 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1957 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1958 # Setting default value for variable
1959 SET @@global.replica_load_tmpdir = DEFAULT;
1960 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1961 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1962 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1963 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1964 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1965 ==== Testing SET @@session.replica_load_tmpdir [invalid scope] ====
1966 SET @@session.replica_load_tmpdir = DEFAULT;
1967 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1968 SET @@replica_load_tmpdir = DEFAULT;
1969 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1970 SET @@session.replica_load_tmpdir = VALUE;
1971 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1972 SET @@replica_load_tmpdir = VALUE;
1973 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1974 SET @@session.replica_load_tmpdir = VALUE;
1975 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1976 SET @@replica_load_tmpdir = VALUE;
1977 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1978 SET @@session.replica_load_tmpdir = VALUE;
1979 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1980 SET @@replica_load_tmpdir = VALUE;
1981 ERROR HY000: Variable 'replica_load_tmpdir' is a read only variable
1982 SELECT @@session.replica_load_tmpdir;
1983 ERROR HY000: Variable 'replica_load_tmpdir' is a GLOBAL variable
1984 SELECT @@replica_load_tmpdir;
1985 include/assert.inc [Variable replica_load_tmpdir should exist in performance_schema.session_variables]
1986 ==== Testing SET @@global.slave_load_tmpdir [read-only] ====
1987 # Initial value is default
1988 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1989 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1990 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1991 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1992 # Valid values for *read-only* variable cannot be set
1993 SET @@global.slave_load_tmpdir = VALUE;
1994 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
1995 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
1996 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
1997 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
1998 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
1999 SET @@global.slave_load_tmpdir = VALUE;
2000 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2001 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
2002 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
2003 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
2004 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
2005 SET @@global.slave_load_tmpdir = VALUE;
2006 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2007 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
2008 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
2009 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
2010 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
2011 # Setting default value for variable
2012 SET @@global.slave_load_tmpdir = DEFAULT;
2013 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2014 include/assert.inc [@@global.slave_load_tmpdir should have the expected value]
2015 include/assert.inc [slave_load_tmpdir should have the expected value in P_S.global_variables]
2016 include/assert.inc [@@global.replica_load_tmpdir should have the expected value]
2017 include/assert.inc [replica_load_tmpdir should have the expected value in P_S.global_variables]
2018 ==== Testing SET @@session.slave_load_tmpdir [invalid scope] ====
2019 SET @@session.slave_load_tmpdir = DEFAULT;
2020 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2021 SET @@slave_load_tmpdir = DEFAULT;
2022 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2023 SET @@session.slave_load_tmpdir = VALUE;
2024 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2025 SET @@slave_load_tmpdir = VALUE;
2026 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2027 SET @@session.slave_load_tmpdir = VALUE;
2028 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2029 SET @@slave_load_tmpdir = VALUE;
2030 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2031 SET @@session.slave_load_tmpdir = VALUE;
2032 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2033 SET @@slave_load_tmpdir = VALUE;
2034 ERROR HY000: Variable 'slave_load_tmpdir' is a read only variable
2035 SELECT @@session.slave_load_tmpdir;
2036 ERROR HY000: Variable 'slave_load_tmpdir' is a GLOBAL variable
2037 SELECT @@slave_load_tmpdir;
2038 include/assert.inc [Variable slave_load_tmpdir should exist in performance_schema.session_variables]
2039 sysvar:
2040 - name=replica_max_allowed_packet
2041 - alias=slave_max_allowed_packet
2042 - invalid=[1.5, "ON", "'x'", "NULL"]
2043 - global=1
2044 - session=0
2045 - cmdline=1
2046 - persist=1
2047 - persist_as_readonly=0
2048 - dynamic=1
2049 - min=1024
2050 - max=1073741824
2051 - block_size=1024
2052 - default=1073741824
2053 - values=[1024, 2048, 65536]
2054 ==== Testing SET @@global.replica_max_allowed_packet [allowed values, range, invalid values] ====
2055 # Initial value is default
2056 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2057 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2058 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2059 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2060 # Valid values for variable
2061 SET @@global.replica_max_allowed_packet=1024;
2062 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2063 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2064 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2065 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2066 SET @@global.replica_max_allowed_packet=2048;
2067 include/assert.inc [@@global.replica_max_allowed_packet should be 2048]
2068 include/assert.inc [replica_max_allowed_packet should be 2048 in P_S.global_variables]
2069 include/assert.inc [@@global.slave_max_allowed_packet should be 2048]
2070 include/assert.inc [slave_max_allowed_packet should be 2048 in P_S.global_variables]
2071 SET @@global.replica_max_allowed_packet=65536;
2072 include/assert.inc [@@global.replica_max_allowed_packet should be 65536]
2073 include/assert.inc [replica_max_allowed_packet should be 65536 in P_S.global_variables]
2074 include/assert.inc [@@global.slave_max_allowed_packet should be 65536]
2075 include/assert.inc [slave_max_allowed_packet should be 65536 in P_S.global_variables]
2076 # Setting default value for variable
2077 SET @@global.replica_max_allowed_packet = DEFAULT;
2078 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2079 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2080 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2081 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2082 # Minimum value
2083 SET @@global.replica_max_allowed_packet = 1024;
2084 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2085 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2086 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2087 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2088 include/assert.inc [Expected min value should equal min value in performance_schema]
2089 # Less-than-minimum values
2090 SET @@global.replica_max_allowed_packet = 1023;
2091 Warnings:
2092 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1023'
2093 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2094 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2095 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2096 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2097 SET @@global.replica_max_allowed_packet = 0;
2098 Warnings:
2099 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '0'
2100 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2101 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2102 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2103 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2104 # Maximum value
2105 SET @@global.replica_max_allowed_packet = 1073741824;
2106 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2107 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2108 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2109 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2110 include/assert.inc [Expected max value should equal max value in performance_schema]
2111 # Greater-than-maximum values
2112 SET @@global.replica_max_allowed_packet = 1073741825;
2113 Warnings:
2114 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073741825'
2115 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2116 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2117 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2118 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2119 SET @@global.replica_max_allowed_packet = 1073742848;
2120 Warnings:
2121 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742848'
2122 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2123 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2124 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2125 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2126 # Non-block-size value
2127 SET @@global.replica_max_allowed_packet = 1073742847;
2128 Warnings:
2129 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742847'
2130 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2131 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2132 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2133 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2134 # Invalid values
2135 SET @@global.replica_max_allowed_packet = 1.5;
2136 Got one of the listed errors
2137 SET @@global.replica_max_allowed_packet = ON;
2138 Got one of the listed errors
2139 SET @@global.replica_max_allowed_packet = 'x';
2140 Got one of the listed errors
2141 SET @@global.replica_max_allowed_packet = NULL;
2142 Got one of the listed errors
2143 # Restore default
2144 SET @@global.replica_max_allowed_packet = DEFAULT;
2145 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2146 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2147 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2148 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2149 ==== Testing SET @@session.replica_max_allowed_packet [invalid scope] ====
2150 SET @@session.replica_max_allowed_packet = DEFAULT;
2151 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2152 SET @@replica_max_allowed_packet = DEFAULT;
2153 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2154 SET @@session.replica_max_allowed_packet = 1024;
2155 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2156 SET @@replica_max_allowed_packet = 1024;
2157 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2158 SET @@session.replica_max_allowed_packet = 2048;
2159 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2160 SET @@replica_max_allowed_packet = 2048;
2161 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2162 SET @@session.replica_max_allowed_packet = 65536;
2163 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2164 SET @@replica_max_allowed_packet = 65536;
2165 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2166 SELECT @@session.replica_max_allowed_packet;
2167 ERROR HY000: Variable 'replica_max_allowed_packet' is a GLOBAL variable
2168 SELECT @@replica_max_allowed_packet;
2169 @@replica_max_allowed_packet
2170 1073741824
2171 include/assert.inc [Variable replica_max_allowed_packet should exist in performance_schema.session_variables]
2172 ==== Testing SET @@global.slave_max_allowed_packet [allowed values, range, invalid values] ====
2173 # Initial value is default
2174 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2175 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2176 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2177 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2178 # Valid values for variable
2179 SET @@global.slave_max_allowed_packet=1024;
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 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2183 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2184 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2185 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2186 SET @@global.slave_max_allowed_packet=2048;
2187 Warnings:
2188 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2189 include/assert.inc [@@global.slave_max_allowed_packet should be 2048]
2190 include/assert.inc [slave_max_allowed_packet should be 2048 in P_S.global_variables]
2191 include/assert.inc [@@global.replica_max_allowed_packet should be 2048]
2192 include/assert.inc [replica_max_allowed_packet should be 2048 in P_S.global_variables]
2193 SET @@global.slave_max_allowed_packet=65536;
2194 Warnings:
2195 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2196 include/assert.inc [@@global.slave_max_allowed_packet should be 65536]
2197 include/assert.inc [slave_max_allowed_packet should be 65536 in P_S.global_variables]
2198 include/assert.inc [@@global.replica_max_allowed_packet should be 65536]
2199 include/assert.inc [replica_max_allowed_packet should be 65536 in P_S.global_variables]
2200 # Setting default value for variable
2201 SET @@global.slave_max_allowed_packet = DEFAULT;
2202 Warnings:
2203 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2204 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2205 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2206 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2207 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2208 # Minimum value
2209 SET @@global.slave_max_allowed_packet = 1024;
2210 Warnings:
2211 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2212 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2213 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2214 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2215 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2216 include/assert.inc [Expected min value should equal min value in performance_schema]
2217 # Less-than-minimum values
2218 SET @@global.slave_max_allowed_packet = 1023;
2219 Warnings:
2220 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2221 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1023'
2222 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2223 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2224 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2225 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2226 SET @@global.slave_max_allowed_packet = 0;
2227 Warnings:
2228 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2229 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '0'
2230 include/assert.inc [@@global.slave_max_allowed_packet should be 1024]
2231 include/assert.inc [slave_max_allowed_packet should be 1024 in P_S.global_variables]
2232 include/assert.inc [@@global.replica_max_allowed_packet should be 1024]
2233 include/assert.inc [replica_max_allowed_packet should be 1024 in P_S.global_variables]
2234 # Maximum value
2235 SET @@global.slave_max_allowed_packet = 1073741824;
2236 Warnings:
2237 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2238 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2239 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2240 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2241 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2242 include/assert.inc [Expected max value should equal max value in performance_schema]
2243 # Greater-than-maximum values
2244 SET @@global.slave_max_allowed_packet = 1073741825;
2245 Warnings:
2246 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2247 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073741825'
2248 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2249 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2250 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2251 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2252 SET @@global.slave_max_allowed_packet = 1073742848;
2253 Warnings:
2254 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2255 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742848'
2256 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2257 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2258 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2259 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2260 # Non-block-size value
2261 SET @@global.slave_max_allowed_packet = 1073742847;
2262 Warnings:
2263 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2264 Warning 1292 Truncated incorrect replica_max_allowed_packet value: '1073742847'
2265 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2266 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2267 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2268 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2269 # Invalid values
2270 SET @@global.slave_max_allowed_packet = 1.5;
2271 Got one of the listed errors
2272 SET @@global.slave_max_allowed_packet = ON;
2273 Got one of the listed errors
2274 SET @@global.slave_max_allowed_packet = 'x';
2275 Got one of the listed errors
2276 SET @@global.slave_max_allowed_packet = NULL;
2277 Got one of the listed errors
2278 # Restore default
2279 SET @@global.slave_max_allowed_packet = DEFAULT;
2280 Warnings:
2281 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2282 include/assert.inc [@@global.slave_max_allowed_packet should be 1073741824]
2283 include/assert.inc [slave_max_allowed_packet should be 1073741824 in P_S.global_variables]
2284 include/assert.inc [@@global.replica_max_allowed_packet should be 1073741824]
2285 include/assert.inc [replica_max_allowed_packet should be 1073741824 in P_S.global_variables]
2286 ==== Testing SET @@session.slave_max_allowed_packet [invalid scope] ====
2287 SET @@session.slave_max_allowed_packet = DEFAULT;
2288 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2289 SET @@slave_max_allowed_packet = DEFAULT;
2290 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2291 SET @@session.slave_max_allowed_packet = 1024;
2292 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2293 SET @@slave_max_allowed_packet = 1024;
2294 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2295 SET @@session.slave_max_allowed_packet = 2048;
2296 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2297 SET @@slave_max_allowed_packet = 2048;
2298 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2299 SET @@session.slave_max_allowed_packet = 65536;
2300 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2301 SET @@slave_max_allowed_packet = 65536;
2302 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable and should be set with SET GLOBAL
2303 SELECT @@session.slave_max_allowed_packet;
2304 ERROR HY000: Variable 'slave_max_allowed_packet' is a GLOBAL variable
2305 SELECT @@slave_max_allowed_packet;
2306 @@slave_max_allowed_packet
2307 1073741824
2308 Warnings:
2309 Warning 1287 '@@slave_max_allowed_packet' is deprecated and will be removed in a future release. Please use replica_max_allowed_packet instead.
2310 include/assert.inc [Variable slave_max_allowed_packet should exist in performance_schema.session_variables]
2311 sysvar:
2312 - name=replica_net_timeout
2313 - alias=slave_net_timeout
2314 - invalid=[1.5, "ON", "'x'", "NULL"]
2315 - global=1
2316 - session=0
2317 - cmdline=1
2318 - persist=1
2319 - persist_as_readonly=0
2320 - dynamic=1
2321 - min=1
2322 - max=31536000
2323 - block_size=1
2324 - default=60
2325 - values=[1, 2, 65536]
2326 ==== Testing SET @@global.replica_net_timeout [allowed values, range, invalid values] ====
2327 # Initial value is default
2328 include/assert.inc [@@global.replica_net_timeout should be 60]
2329 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2330 include/assert.inc [@@global.slave_net_timeout should be 60]
2331 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2332 # Valid values for variable
2333 SET @@global.replica_net_timeout=1;
2334 include/assert.inc [@@global.replica_net_timeout should be 1]
2335 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2336 include/assert.inc [@@global.slave_net_timeout should be 1]
2337 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2338 SET @@global.replica_net_timeout=2;
2339 include/assert.inc [@@global.replica_net_timeout should be 2]
2340 include/assert.inc [replica_net_timeout should be 2 in P_S.global_variables]
2341 include/assert.inc [@@global.slave_net_timeout should be 2]
2342 include/assert.inc [slave_net_timeout should be 2 in P_S.global_variables]
2343 SET @@global.replica_net_timeout=65536;
2344 include/assert.inc [@@global.replica_net_timeout should be 65536]
2345 include/assert.inc [replica_net_timeout should be 65536 in P_S.global_variables]
2346 include/assert.inc [@@global.slave_net_timeout should be 65536]
2347 include/assert.inc [slave_net_timeout should be 65536 in P_S.global_variables]
2348 # Setting default value for variable
2349 SET @@global.replica_net_timeout = DEFAULT;
2350 include/assert.inc [@@global.replica_net_timeout should be 60]
2351 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2352 include/assert.inc [@@global.slave_net_timeout should be 60]
2353 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2354 # Minimum value
2355 SET @@global.replica_net_timeout = 1;
2356 include/assert.inc [@@global.replica_net_timeout should be 1]
2357 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2358 include/assert.inc [@@global.slave_net_timeout should be 1]
2359 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2360 include/assert.inc [Expected min value should equal min value in performance_schema]
2361 # Less-than-minimum values
2362 SET @@global.replica_net_timeout = 0;
2363 Warnings:
2364 Warning 1292 Truncated incorrect replica_net_timeout value: '0'
2365 include/assert.inc [@@global.replica_net_timeout should be 1]
2366 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2367 include/assert.inc [@@global.slave_net_timeout should be 1]
2368 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2369 # Maximum value
2370 SET @@global.replica_net_timeout = 31536000;
2371 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2372 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2373 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2374 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2375 include/assert.inc [Expected max value should equal max value in performance_schema]
2376 # Greater-than-maximum values
2377 SET @@global.replica_net_timeout = 31536001;
2378 Warnings:
2379 Warning 1292 Truncated incorrect replica_net_timeout value: '31536001'
2380 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2381 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2382 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2383 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2384 # Invalid values
2385 SET @@global.replica_net_timeout = 1.5;
2386 Got one of the listed errors
2387 SET @@global.replica_net_timeout = ON;
2388 Got one of the listed errors
2389 SET @@global.replica_net_timeout = 'x';
2390 Got one of the listed errors
2391 SET @@global.replica_net_timeout = NULL;
2392 Got one of the listed errors
2393 # Restore default
2394 SET @@global.replica_net_timeout = DEFAULT;
2395 include/assert.inc [@@global.replica_net_timeout should be 60]
2396 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2397 include/assert.inc [@@global.slave_net_timeout should be 60]
2398 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2399 ==== Testing SET @@session.replica_net_timeout [invalid scope] ====
2400 SET @@session.replica_net_timeout = DEFAULT;
2401 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2402 SET @@replica_net_timeout = DEFAULT;
2403 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2404 SET @@session.replica_net_timeout = 1;
2405 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2406 SET @@replica_net_timeout = 1;
2407 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2408 SET @@session.replica_net_timeout = 2;
2409 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2410 SET @@replica_net_timeout = 2;
2411 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2412 SET @@session.replica_net_timeout = 65536;
2413 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2414 SET @@replica_net_timeout = 65536;
2415 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2416 SELECT @@session.replica_net_timeout;
2417 ERROR HY000: Variable 'replica_net_timeout' is a GLOBAL variable
2418 SELECT @@replica_net_timeout;
2419 @@replica_net_timeout
2420 60
2421 include/assert.inc [Variable replica_net_timeout should exist in performance_schema.session_variables]
2422 ==== Testing SET @@global.slave_net_timeout [allowed values, range, invalid values] ====
2423 # Initial value is default
2424 include/assert.inc [@@global.slave_net_timeout should be 60]
2425 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2426 include/assert.inc [@@global.replica_net_timeout should be 60]
2427 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2428 # Valid values for variable
2429 SET @@global.slave_net_timeout=1;
2430 Warnings:
2431 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2432 include/assert.inc [@@global.slave_net_timeout should be 1]
2433 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2434 include/assert.inc [@@global.replica_net_timeout should be 1]
2435 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2436 SET @@global.slave_net_timeout=2;
2437 Warnings:
2438 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2439 include/assert.inc [@@global.slave_net_timeout should be 2]
2440 include/assert.inc [slave_net_timeout should be 2 in P_S.global_variables]
2441 include/assert.inc [@@global.replica_net_timeout should be 2]
2442 include/assert.inc [replica_net_timeout should be 2 in P_S.global_variables]
2443 SET @@global.slave_net_timeout=65536;
2444 Warnings:
2445 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2446 include/assert.inc [@@global.slave_net_timeout should be 65536]
2447 include/assert.inc [slave_net_timeout should be 65536 in P_S.global_variables]
2448 include/assert.inc [@@global.replica_net_timeout should be 65536]
2449 include/assert.inc [replica_net_timeout should be 65536 in P_S.global_variables]
2450 # Setting default value for variable
2451 SET @@global.slave_net_timeout = DEFAULT;
2452 Warnings:
2453 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2454 include/assert.inc [@@global.slave_net_timeout should be 60]
2455 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2456 include/assert.inc [@@global.replica_net_timeout should be 60]
2457 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2458 # Minimum value
2459 SET @@global.slave_net_timeout = 1;
2460 Warnings:
2461 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2462 include/assert.inc [@@global.slave_net_timeout should be 1]
2463 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2464 include/assert.inc [@@global.replica_net_timeout should be 1]
2465 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2466 include/assert.inc [Expected min value should equal min value in performance_schema]
2467 # Less-than-minimum values
2468 SET @@global.slave_net_timeout = 0;
2469 Warnings:
2470 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2471 Warning 1292 Truncated incorrect replica_net_timeout value: '0'
2472 include/assert.inc [@@global.slave_net_timeout should be 1]
2473 include/assert.inc [slave_net_timeout should be 1 in P_S.global_variables]
2474 include/assert.inc [@@global.replica_net_timeout should be 1]
2475 include/assert.inc [replica_net_timeout should be 1 in P_S.global_variables]
2476 # Maximum value
2477 SET @@global.slave_net_timeout = 31536000;
2478 Warnings:
2479 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2480 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2481 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2482 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2483 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2484 include/assert.inc [Expected max value should equal max value in performance_schema]
2485 # Greater-than-maximum values
2486 SET @@global.slave_net_timeout = 31536001;
2487 Warnings:
2488 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2489 Warning 1292 Truncated incorrect replica_net_timeout value: '31536001'
2490 include/assert.inc [@@global.slave_net_timeout should be 31536000]
2491 include/assert.inc [slave_net_timeout should be 31536000 in P_S.global_variables]
2492 include/assert.inc [@@global.replica_net_timeout should be 31536000]
2493 include/assert.inc [replica_net_timeout should be 31536000 in P_S.global_variables]
2494 # Invalid values
2495 SET @@global.slave_net_timeout = 1.5;
2496 Got one of the listed errors
2497 SET @@global.slave_net_timeout = ON;
2498 Got one of the listed errors
2499 SET @@global.slave_net_timeout = 'x';
2500 Got one of the listed errors
2501 SET @@global.slave_net_timeout = NULL;
2502 Got one of the listed errors
2503 # Restore default
2504 SET @@global.slave_net_timeout = DEFAULT;
2505 Warnings:
2506 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2507 include/assert.inc [@@global.slave_net_timeout should be 60]
2508 include/assert.inc [slave_net_timeout should be 60 in P_S.global_variables]
2509 include/assert.inc [@@global.replica_net_timeout should be 60]
2510 include/assert.inc [replica_net_timeout should be 60 in P_S.global_variables]
2511 ==== Testing SET @@session.slave_net_timeout [invalid scope] ====
2512 SET @@session.slave_net_timeout = DEFAULT;
2513 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2514 SET @@slave_net_timeout = DEFAULT;
2515 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2516 SET @@session.slave_net_timeout = 1;
2517 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2518 SET @@slave_net_timeout = 1;
2519 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2520 SET @@session.slave_net_timeout = 2;
2521 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2522 SET @@slave_net_timeout = 2;
2523 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2524 SET @@session.slave_net_timeout = 65536;
2525 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2526 SET @@slave_net_timeout = 65536;
2527 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable and should be set with SET GLOBAL
2528 SELECT @@session.slave_net_timeout;
2529 ERROR HY000: Variable 'slave_net_timeout' is a GLOBAL variable
2530 SELECT @@slave_net_timeout;
2531 @@slave_net_timeout
2532 60
2533 Warnings:
2534 Warning 1287 '@@slave_net_timeout' is deprecated and will be removed in a future release. Please use replica_net_timeout instead.
2535 include/assert.inc [Variable slave_net_timeout should exist in performance_schema.session_variables]
2536 sysvar:
2537 - name=replica_parallel_workers
2538 - alias=slave_parallel_workers
2539 - invalid=[1.5, "ON", "'x'", "NULL"]
2540 - global=1
2541 - session=0
2542 - cmdline=1
2543 - persist=1
2544 - persist_as_readonly=1
2545 - dynamic=1
2546 - min=
2547 - max=1024
2548 - block_size=1
2549 - default=4
2550 - values=[1, 2, 100]
2551 ==== Testing SET @@global.replica_parallel_workers [allowed values, range, invalid values] ====
2552 # Initial value is default
2553 include/assert.inc [@@global.replica_parallel_workers should be 4]
2554 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2555 include/assert.inc [@@global.slave_parallel_workers should be 4]
2556 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2557 # Valid values for variable
2558 SET @@global.replica_parallel_workers=1;
2559 include/assert.inc [@@global.replica_parallel_workers should be 1]
2560 include/assert.inc [replica_parallel_workers should be 1 in P_S.global_variables]
2561 include/assert.inc [@@global.slave_parallel_workers should be 1]
2562 include/assert.inc [slave_parallel_workers should be 1 in P_S.global_variables]
2563 SET @@global.replica_parallel_workers=2;
2564 include/assert.inc [@@global.replica_parallel_workers should be 2]
2565 include/assert.inc [replica_parallel_workers should be 2 in P_S.global_variables]
2566 include/assert.inc [@@global.slave_parallel_workers should be 2]
2567 include/assert.inc [slave_parallel_workers should be 2 in P_S.global_variables]
2568 SET @@global.replica_parallel_workers=100;
2569 include/assert.inc [@@global.replica_parallel_workers should be 100]
2570 include/assert.inc [replica_parallel_workers should be 100 in P_S.global_variables]
2571 include/assert.inc [@@global.slave_parallel_workers should be 100]
2572 include/assert.inc [slave_parallel_workers should be 100 in P_S.global_variables]
2573 # Setting default value for variable
2574 SET @@global.replica_parallel_workers = DEFAULT;
2575 include/assert.inc [@@global.replica_parallel_workers should be 4]
2576 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2577 include/assert.inc [@@global.slave_parallel_workers should be 4]
2578 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2579 # Maximum value
2580 SET @@global.replica_parallel_workers = 1024;
2581 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2582 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2583 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2584 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2585 include/assert.inc [Expected max value should equal max value in performance_schema]
2586 # Greater-than-maximum values
2587 SET @@global.replica_parallel_workers = 1025;
2588 Warnings:
2589 Warning 1292 Truncated incorrect replica_parallel_workers value: '1025'
2590 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2591 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2592 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2593 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2594 # Invalid values
2595 SET @@global.replica_parallel_workers = 1.5;
2596 Got one of the listed errors
2597 SET @@global.replica_parallel_workers = ON;
2598 Got one of the listed errors
2599 SET @@global.replica_parallel_workers = 'x';
2600 Got one of the listed errors
2601 SET @@global.replica_parallel_workers = NULL;
2602 Got one of the listed errors
2603 # Restore default
2604 SET @@global.replica_parallel_workers = DEFAULT;
2605 include/assert.inc [@@global.replica_parallel_workers should be 4]
2606 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2607 include/assert.inc [@@global.slave_parallel_workers should be 4]
2608 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2609 ==== Testing SET @@session.replica_parallel_workers [invalid scope] ====
2610 SET @@session.replica_parallel_workers = DEFAULT;
2611 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2612 SET @@replica_parallel_workers = DEFAULT;
2613 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2614 SET @@session.replica_parallel_workers = 1;
2615 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2616 SET @@replica_parallel_workers = 1;
2617 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2618 SET @@session.replica_parallel_workers = 2;
2619 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2620 SET @@replica_parallel_workers = 2;
2621 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2622 SET @@session.replica_parallel_workers = 100;
2623 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2624 SET @@replica_parallel_workers = 100;
2625 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2626 SELECT @@session.replica_parallel_workers;
2627 ERROR HY000: Variable 'replica_parallel_workers' is a GLOBAL variable
2628 SELECT @@replica_parallel_workers;
2629 @@replica_parallel_workers
2630 4
2631 include/assert.inc [Variable replica_parallel_workers should exist in performance_schema.session_variables]
2632 ==== Testing SET @@global.slave_parallel_workers [allowed values, range, invalid values] ====
2633 # Initial value is default
2634 include/assert.inc [@@global.slave_parallel_workers should be 4]
2635 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2636 include/assert.inc [@@global.replica_parallel_workers should be 4]
2637 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2638 # Valid values for variable
2639 SET @@global.slave_parallel_workers=1;
2640 Warnings:
2641 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2642 include/assert.inc [@@global.slave_parallel_workers should be 1]
2643 include/assert.inc [slave_parallel_workers should be 1 in P_S.global_variables]
2644 include/assert.inc [@@global.replica_parallel_workers should be 1]
2645 include/assert.inc [replica_parallel_workers should be 1 in P_S.global_variables]
2646 SET @@global.slave_parallel_workers=2;
2647 Warnings:
2648 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2649 include/assert.inc [@@global.slave_parallel_workers should be 2]
2650 include/assert.inc [slave_parallel_workers should be 2 in P_S.global_variables]
2651 include/assert.inc [@@global.replica_parallel_workers should be 2]
2652 include/assert.inc [replica_parallel_workers should be 2 in P_S.global_variables]
2653 SET @@global.slave_parallel_workers=100;
2654 Warnings:
2655 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2656 include/assert.inc [@@global.slave_parallel_workers should be 100]
2657 include/assert.inc [slave_parallel_workers should be 100 in P_S.global_variables]
2658 include/assert.inc [@@global.replica_parallel_workers should be 100]
2659 include/assert.inc [replica_parallel_workers should be 100 in P_S.global_variables]
2660 # Setting default value for variable
2661 SET @@global.slave_parallel_workers = DEFAULT;
2662 Warnings:
2663 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2664 include/assert.inc [@@global.slave_parallel_workers should be 4]
2665 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2666 include/assert.inc [@@global.replica_parallel_workers should be 4]
2667 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2668 # Maximum value
2669 SET @@global.slave_parallel_workers = 1024;
2670 Warnings:
2671 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2672 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2673 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2674 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2675 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2676 include/assert.inc [Expected max value should equal max value in performance_schema]
2677 # Greater-than-maximum values
2678 SET @@global.slave_parallel_workers = 1025;
2679 Warnings:
2680 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2681 Warning 1292 Truncated incorrect replica_parallel_workers value: '1025'
2682 include/assert.inc [@@global.slave_parallel_workers should be 1024]
2683 include/assert.inc [slave_parallel_workers should be 1024 in P_S.global_variables]
2684 include/assert.inc [@@global.replica_parallel_workers should be 1024]
2685 include/assert.inc [replica_parallel_workers should be 1024 in P_S.global_variables]
2686 # Invalid values
2687 SET @@global.slave_parallel_workers = 1.5;
2688 Got one of the listed errors
2689 SET @@global.slave_parallel_workers = ON;
2690 Got one of the listed errors
2691 SET @@global.slave_parallel_workers = 'x';
2692 Got one of the listed errors
2693 SET @@global.slave_parallel_workers = NULL;
2694 Got one of the listed errors
2695 # Restore default
2696 SET @@global.slave_parallel_workers = DEFAULT;
2697 Warnings:
2698 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2699 include/assert.inc [@@global.slave_parallel_workers should be 4]
2700 include/assert.inc [slave_parallel_workers should be 4 in P_S.global_variables]
2701 include/assert.inc [@@global.replica_parallel_workers should be 4]
2702 include/assert.inc [replica_parallel_workers should be 4 in P_S.global_variables]
2703 ==== Testing SET @@session.slave_parallel_workers [invalid scope] ====
2704 SET @@session.slave_parallel_workers = DEFAULT;
2705 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2706 SET @@slave_parallel_workers = DEFAULT;
2707 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2708 SET @@session.slave_parallel_workers = 1;
2709 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2710 SET @@slave_parallel_workers = 1;
2711 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2712 SET @@session.slave_parallel_workers = 2;
2713 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2714 SET @@slave_parallel_workers = 2;
2715 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2716 SET @@session.slave_parallel_workers = 100;
2717 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2718 SET @@slave_parallel_workers = 100;
2719 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable and should be set with SET GLOBAL
2720 SELECT @@session.slave_parallel_workers;
2721 ERROR HY000: Variable 'slave_parallel_workers' is a GLOBAL variable
2722 SELECT @@slave_parallel_workers;
2723 @@slave_parallel_workers
2724 4
2725 Warnings:
2726 Warning 1287 '@@slave_parallel_workers' is deprecated and will be removed in a future release. Please use replica_parallel_workers instead.
2727 include/assert.inc [Variable slave_parallel_workers should exist in performance_schema.session_variables]
2728 sysvar:
2729 - name=replica_pending_jobs_size_max
2730 - alias=slave_pending_jobs_size_max
2731 - invalid=[1.5, "ON", "'x'", "NULL"]
2732 - global=1
2733 - session=0
2734 - cmdline=1
2735 - persist=1
2736 - persist_as_readonly=0
2737 - dynamic=1
2738 - min=1024
2739 - max=18446744073709550592
2740 - block_size=1024
2741 - default=134217728
2742 - values=[65536, 32768, 4096]
2743 ==== Testing SET @@global.replica_pending_jobs_size_max [allowed values, range, invalid values] ====
2744 # Initial value is default
2745 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2746 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2747 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2748 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2749 # Valid values for variable
2750 SET @@global.replica_pending_jobs_size_max=65536;
2751 include/assert.inc [@@global.replica_pending_jobs_size_max should be 65536]
2752 include/assert.inc [replica_pending_jobs_size_max should be 65536 in P_S.global_variables]
2753 include/assert.inc [@@global.slave_pending_jobs_size_max should be 65536]
2754 include/assert.inc [slave_pending_jobs_size_max should be 65536 in P_S.global_variables]
2755 SET @@global.replica_pending_jobs_size_max=32768;
2756 include/assert.inc [@@global.replica_pending_jobs_size_max should be 32768]
2757 include/assert.inc [replica_pending_jobs_size_max should be 32768 in P_S.global_variables]
2758 include/assert.inc [@@global.slave_pending_jobs_size_max should be 32768]
2759 include/assert.inc [slave_pending_jobs_size_max should be 32768 in P_S.global_variables]
2760 SET @@global.replica_pending_jobs_size_max=4096;
2761 include/assert.inc [@@global.replica_pending_jobs_size_max should be 4096]
2762 include/assert.inc [replica_pending_jobs_size_max should be 4096 in P_S.global_variables]
2763 include/assert.inc [@@global.slave_pending_jobs_size_max should be 4096]
2764 include/assert.inc [slave_pending_jobs_size_max should be 4096 in P_S.global_variables]
2765 # Setting default value for variable
2766 SET @@global.replica_pending_jobs_size_max = DEFAULT;
2767 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2768 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2769 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2770 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2771 # Minimum value
2772 SET @@global.replica_pending_jobs_size_max = 1024;
2773 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2774 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2775 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2776 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2777 include/assert.inc [Expected min value should equal min value in performance_schema]
2778 # Less-than-minimum values
2779 SET @@global.replica_pending_jobs_size_max = 1023;
2780 Warnings:
2781 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '1023'
2782 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2783 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2784 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2785 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2786 SET @@global.replica_pending_jobs_size_max = 0;
2787 Warnings:
2788 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '0'
2789 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2790 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2791 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2792 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2793 # Maximum value
2794 SET @@global.replica_pending_jobs_size_max = 18446744073709550592;
2795 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2796 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2797 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2798 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2799 include/assert.inc [Expected max value should equal max value in performance_schema]
2800 # Greater-than-maximum values
2801 SET @@global.replica_pending_jobs_size_max = 18446744073709550593;
2802 Warnings:
2803 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709550593'
2804 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2805 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2806 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2807 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2808 SET @@global.replica_pending_jobs_size_max = 18446744073709551615;
2809 Warnings:
2810 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709551615'
2811 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2812 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2813 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2814 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2815 # Non-block-size value
2816 SET @@global.replica_pending_jobs_size_max = 134218751;
2817 Warnings:
2818 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '134218751'
2819 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2820 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2821 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2822 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2823 # Invalid values
2824 SET @@global.replica_pending_jobs_size_max = 1.5;
2825 Got one of the listed errors
2826 SET @@global.replica_pending_jobs_size_max = ON;
2827 Got one of the listed errors
2828 SET @@global.replica_pending_jobs_size_max = 'x';
2829 Got one of the listed errors
2830 SET @@global.replica_pending_jobs_size_max = NULL;
2831 Got one of the listed errors
2832 # Restore default
2833 SET @@global.replica_pending_jobs_size_max = DEFAULT;
2834 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2835 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2836 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2837 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2838 ==== Testing SET @@session.replica_pending_jobs_size_max [invalid scope] ====
2839 SET @@session.replica_pending_jobs_size_max = DEFAULT;
2840 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2841 SET @@replica_pending_jobs_size_max = DEFAULT;
2842 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2843 SET @@session.replica_pending_jobs_size_max = 65536;
2844 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2845 SET @@replica_pending_jobs_size_max = 65536;
2846 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2847 SET @@session.replica_pending_jobs_size_max = 32768;
2848 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2849 SET @@replica_pending_jobs_size_max = 32768;
2850 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2851 SET @@session.replica_pending_jobs_size_max = 4096;
2852 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2853 SET @@replica_pending_jobs_size_max = 4096;
2854 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2855 SELECT @@session.replica_pending_jobs_size_max;
2856 ERROR HY000: Variable 'replica_pending_jobs_size_max' is a GLOBAL variable
2857 SELECT @@replica_pending_jobs_size_max;
2858 @@replica_pending_jobs_size_max
2859 134217728
2860 include/assert.inc [Variable replica_pending_jobs_size_max should exist in performance_schema.session_variables]
2861 ==== Testing SET @@global.slave_pending_jobs_size_max [allowed values, range, invalid values] ====
2862 # Initial value is default
2863 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2864 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2865 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2866 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2867 # Valid values for variable
2868 SET @@global.slave_pending_jobs_size_max=65536;
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 include/assert.inc [@@global.slave_pending_jobs_size_max should be 65536]
2872 include/assert.inc [slave_pending_jobs_size_max should be 65536 in P_S.global_variables]
2873 include/assert.inc [@@global.replica_pending_jobs_size_max should be 65536]
2874 include/assert.inc [replica_pending_jobs_size_max should be 65536 in P_S.global_variables]
2875 SET @@global.slave_pending_jobs_size_max=32768;
2876 Warnings:
2877 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.
2878 include/assert.inc [@@global.slave_pending_jobs_size_max should be 32768]
2879 include/assert.inc [slave_pending_jobs_size_max should be 32768 in P_S.global_variables]
2880 include/assert.inc [@@global.replica_pending_jobs_size_max should be 32768]
2881 include/assert.inc [replica_pending_jobs_size_max should be 32768 in P_S.global_variables]
2882 SET @@global.slave_pending_jobs_size_max=4096;
2883 Warnings:
2884 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.
2885 include/assert.inc [@@global.slave_pending_jobs_size_max should be 4096]
2886 include/assert.inc [slave_pending_jobs_size_max should be 4096 in P_S.global_variables]
2887 include/assert.inc [@@global.replica_pending_jobs_size_max should be 4096]
2888 include/assert.inc [replica_pending_jobs_size_max should be 4096 in P_S.global_variables]
2889 # Setting default value for variable
2890 SET @@global.slave_pending_jobs_size_max = DEFAULT;
2891 Warnings:
2892 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.
2893 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2894 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2895 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2896 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2897 # Minimum value
2898 SET @@global.slave_pending_jobs_size_max = 1024;
2899 Warnings:
2900 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.
2901 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2902 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2903 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2904 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2905 include/assert.inc [Expected min value should equal min value in performance_schema]
2906 # Less-than-minimum values
2907 SET @@global.slave_pending_jobs_size_max = 1023;
2908 Warnings:
2909 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.
2910 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '1023'
2911 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2912 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2913 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2914 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2915 SET @@global.slave_pending_jobs_size_max = 0;
2916 Warnings:
2917 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.
2918 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '0'
2919 include/assert.inc [@@global.slave_pending_jobs_size_max should be 1024]
2920 include/assert.inc [slave_pending_jobs_size_max should be 1024 in P_S.global_variables]
2921 include/assert.inc [@@global.replica_pending_jobs_size_max should be 1024]
2922 include/assert.inc [replica_pending_jobs_size_max should be 1024 in P_S.global_variables]
2923 # Maximum value
2924 SET @@global.slave_pending_jobs_size_max = 18446744073709550592;
2925 Warnings:
2926 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.
2927 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2928 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2929 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2930 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2931 include/assert.inc [Expected max value should equal max value in performance_schema]
2932 # Greater-than-maximum values
2933 SET @@global.slave_pending_jobs_size_max = 18446744073709550593;
2934 Warnings:
2935 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.
2936 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709550593'
2937 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2938 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2939 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2940 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2941 SET @@global.slave_pending_jobs_size_max = 18446744073709551615;
2942 Warnings:
2943 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.
2944 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '18446744073709551615'
2945 include/assert.inc [@@global.slave_pending_jobs_size_max should be 18446744073709550592]
2946 include/assert.inc [slave_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2947 include/assert.inc [@@global.replica_pending_jobs_size_max should be 18446744073709550592]
2948 include/assert.inc [replica_pending_jobs_size_max should be 18446744073709550592 in P_S.global_variables]
2949 # Non-block-size value
2950 SET @@global.slave_pending_jobs_size_max = 134218751;
2951 Warnings:
2952 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.
2953 Warning 1292 Truncated incorrect replica_pending_jobs_size_max value: '134218751'
2954 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2955 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2956 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2957 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2958 # Invalid values
2959 SET @@global.slave_pending_jobs_size_max = 1.5;
2960 Got one of the listed errors
2961 SET @@global.slave_pending_jobs_size_max = ON;
2962 Got one of the listed errors
2963 SET @@global.slave_pending_jobs_size_max = 'x';
2964 Got one of the listed errors
2965 SET @@global.slave_pending_jobs_size_max = NULL;
2966 Got one of the listed errors
2967 # Restore default
2968 SET @@global.slave_pending_jobs_size_max = DEFAULT;
2969 Warnings:
2970 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.
2971 include/assert.inc [@@global.slave_pending_jobs_size_max should be 134217728]
2972 include/assert.inc [slave_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2973 include/assert.inc [@@global.replica_pending_jobs_size_max should be 134217728]
2974 include/assert.inc [replica_pending_jobs_size_max should be 134217728 in P_S.global_variables]
2975 ==== Testing SET @@session.slave_pending_jobs_size_max [invalid scope] ====
2976 SET @@session.slave_pending_jobs_size_max = DEFAULT;
2977 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2978 SET @@slave_pending_jobs_size_max = DEFAULT;
2979 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2980 SET @@session.slave_pending_jobs_size_max = 65536;
2981 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2982 SET @@slave_pending_jobs_size_max = 65536;
2983 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2984 SET @@session.slave_pending_jobs_size_max = 32768;
2985 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2986 SET @@slave_pending_jobs_size_max = 32768;
2987 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2988 SET @@session.slave_pending_jobs_size_max = 4096;
2989 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2990 SET @@slave_pending_jobs_size_max = 4096;
2991 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable and should be set with SET GLOBAL
2992 SELECT @@session.slave_pending_jobs_size_max;
2993 ERROR HY000: Variable 'slave_pending_jobs_size_max' is a GLOBAL variable
2994 SELECT @@slave_pending_jobs_size_max;
2995 @@slave_pending_jobs_size_max
2996 134217728
2997 Warnings:
2998 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.
2999 include/assert.inc [Variable slave_pending_jobs_size_max should exist in performance_schema.session_variables]
3000 sysvar:
3001 - name=replica_preserve_commit_order
3002 - alias=slave_preserve_commit_order
3003 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
3004 - global=1
3005 - session=0
3006 - cmdline=1
3007 - persist=1
3008 - persist_as_readonly=1
3009 - dynamic=1
3010 - min=
3011 - max=
3012 - block_size=1
3013 - default=1
3014 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
3015 ==== Testing SET @@global.replica_preserve_commit_order [allowed values, range, invalid values] ====
3016 # Initial value is 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 # Valid values for variable
3022 SET @@global.replica_preserve_commit_order=ON;
3023 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3024 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3025 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3026 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3027 SET @@global.replica_preserve_commit_order=OFF;
3028 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3029 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3030 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3031 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3032 SET @@global.replica_preserve_commit_order=1;
3033 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3034 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3035 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3036 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3037 SET @@global.replica_preserve_commit_order=0;
3038 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3039 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3040 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3041 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3042 SET @@global.replica_preserve_commit_order=TRUE;
3043 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3044 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3045 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3046 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3047 SET @@global.replica_preserve_commit_order=FALSE;
3048 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3049 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3050 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3051 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3052 SET @@global.replica_preserve_commit_order='ON';
3053 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3054 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3055 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3056 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3057 SET @@global.replica_preserve_commit_order='OFF';
3058 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3059 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3060 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3061 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3062 # Setting default value for variable
3063 SET @@global.replica_preserve_commit_order = DEFAULT;
3064 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3065 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3066 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3067 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3068 # Invalid values
3069 SET @@global.replica_preserve_commit_order = 0.1;
3070 Got one of the listed errors
3071 SET @@global.replica_preserve_commit_order = 2;
3072 Got one of the listed errors
3073 SET @@global.replica_preserve_commit_order = -1;
3074 Got one of the listed errors
3075 SET @@global.replica_preserve_commit_order = '';
3076 Got one of the listed errors
3077 SET @@global.replica_preserve_commit_order = 'x';
3078 Got one of the listed errors
3079 SET @@global.replica_preserve_commit_order = 'TRUE';
3080 Got one of the listed errors
3081 SET @@global.replica_preserve_commit_order = '1';
3082 Got one of the listed errors
3083 SET @@global.replica_preserve_commit_order = NULL;
3084 Got one of the listed errors
3085 # Restore default
3086 SET @@global.replica_preserve_commit_order = DEFAULT;
3087 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3088 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
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 ==== Testing SET @@session.replica_preserve_commit_order [invalid scope] ====
3092 SET @@session.replica_preserve_commit_order = DEFAULT;
3093 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3094 SET @@replica_preserve_commit_order = DEFAULT;
3095 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3096 SET @@session.replica_preserve_commit_order = ON;
3097 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3098 SET @@replica_preserve_commit_order = ON;
3099 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3100 SET @@session.replica_preserve_commit_order = OFF;
3101 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3102 SET @@replica_preserve_commit_order = OFF;
3103 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3104 SET @@session.replica_preserve_commit_order = 1;
3105 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3106 SET @@replica_preserve_commit_order = 1;
3107 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3108 SET @@session.replica_preserve_commit_order = 0;
3109 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3110 SET @@replica_preserve_commit_order = 0;
3111 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3112 SET @@session.replica_preserve_commit_order = TRUE;
3113 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3114 SET @@replica_preserve_commit_order = TRUE;
3115 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3116 SET @@session.replica_preserve_commit_order = FALSE;
3117 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3118 SET @@replica_preserve_commit_order = FALSE;
3119 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3120 SET @@session.replica_preserve_commit_order = 'ON';
3121 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3122 SET @@replica_preserve_commit_order = 'ON';
3123 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3124 SET @@session.replica_preserve_commit_order = 'OFF';
3125 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3126 SET @@replica_preserve_commit_order = 'OFF';
3127 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3128 SELECT @@session.replica_preserve_commit_order;
3129 ERROR HY000: Variable 'replica_preserve_commit_order' is a GLOBAL variable
3130 SELECT @@replica_preserve_commit_order;
3131 @@replica_preserve_commit_order
3132 1
3133 include/assert.inc [Variable replica_preserve_commit_order should exist in performance_schema.session_variables]
3134 ==== Testing SET @@global.slave_preserve_commit_order [allowed values, range, invalid values] ====
3135 # Initial value is default
3136 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3137 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3138 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3139 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3140 # Valid values for variable
3141 SET @@global.slave_preserve_commit_order=ON;
3142 Warnings:
3143 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3144 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3145 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3146 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3147 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3148 SET @@global.slave_preserve_commit_order=OFF;
3149 Warnings:
3150 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3151 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3152 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3153 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3154 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3155 SET @@global.slave_preserve_commit_order=1;
3156 Warnings:
3157 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3158 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3159 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3160 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3161 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3162 SET @@global.slave_preserve_commit_order=0;
3163 Warnings:
3164 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3165 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3166 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3167 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3168 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3169 SET @@global.slave_preserve_commit_order=TRUE;
3170 Warnings:
3171 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3172 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3173 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3174 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3175 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3176 SET @@global.slave_preserve_commit_order=FALSE;
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 0]
3180 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3181 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3182 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3183 SET @@global.slave_preserve_commit_order='ON';
3184 Warnings:
3185 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3186 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3187 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3188 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3189 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3190 SET @@global.slave_preserve_commit_order='OFF';
3191 Warnings:
3192 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3193 include/assert.inc [@@global.slave_preserve_commit_order should be 0]
3194 include/assert.inc [slave_preserve_commit_order should be 0 in P_S.global_variables]
3195 include/assert.inc [@@global.replica_preserve_commit_order should be 0]
3196 include/assert.inc [replica_preserve_commit_order should be 0 in P_S.global_variables]
3197 # Setting default value for variable
3198 SET @@global.slave_preserve_commit_order = DEFAULT;
3199 Warnings:
3200 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3201 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3202 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3203 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3204 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3205 # Invalid values
3206 SET @@global.slave_preserve_commit_order = 0.1;
3207 Got one of the listed errors
3208 SET @@global.slave_preserve_commit_order = 2;
3209 Got one of the listed errors
3210 SET @@global.slave_preserve_commit_order = -1;
3211 Got one of the listed errors
3212 SET @@global.slave_preserve_commit_order = '';
3213 Got one of the listed errors
3214 SET @@global.slave_preserve_commit_order = 'x';
3215 Got one of the listed errors
3216 SET @@global.slave_preserve_commit_order = 'TRUE';
3217 Got one of the listed errors
3218 SET @@global.slave_preserve_commit_order = '1';
3219 Got one of the listed errors
3220 SET @@global.slave_preserve_commit_order = NULL;
3221 Got one of the listed errors
3222 # Restore default
3223 SET @@global.slave_preserve_commit_order = DEFAULT;
3224 Warnings:
3225 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3226 include/assert.inc [@@global.slave_preserve_commit_order should be 1]
3227 include/assert.inc [slave_preserve_commit_order should be 1 in P_S.global_variables]
3228 include/assert.inc [@@global.replica_preserve_commit_order should be 1]
3229 include/assert.inc [replica_preserve_commit_order should be 1 in P_S.global_variables]
3230 ==== Testing SET @@session.slave_preserve_commit_order [invalid scope] ====
3231 SET @@session.slave_preserve_commit_order = DEFAULT;
3232 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3233 SET @@slave_preserve_commit_order = DEFAULT;
3234 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3235 SET @@session.slave_preserve_commit_order = ON;
3236 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3237 SET @@slave_preserve_commit_order = ON;
3238 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3239 SET @@session.slave_preserve_commit_order = OFF;
3240 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3241 SET @@slave_preserve_commit_order = OFF;
3242 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3243 SET @@session.slave_preserve_commit_order = 1;
3244 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3245 SET @@slave_preserve_commit_order = 1;
3246 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3247 SET @@session.slave_preserve_commit_order = 0;
3248 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3249 SET @@slave_preserve_commit_order = 0;
3250 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3251 SET @@session.slave_preserve_commit_order = TRUE;
3252 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3253 SET @@slave_preserve_commit_order = TRUE;
3254 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3255 SET @@session.slave_preserve_commit_order = FALSE;
3256 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3257 SET @@slave_preserve_commit_order = FALSE;
3258 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3259 SET @@session.slave_preserve_commit_order = 'ON';
3260 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3261 SET @@slave_preserve_commit_order = 'ON';
3262 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3263 SET @@session.slave_preserve_commit_order = 'OFF';
3264 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3265 SET @@slave_preserve_commit_order = 'OFF';
3266 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable and should be set with SET GLOBAL
3267 SELECT @@session.slave_preserve_commit_order;
3268 ERROR HY000: Variable 'slave_preserve_commit_order' is a GLOBAL variable
3269 SELECT @@slave_preserve_commit_order;
3270 @@slave_preserve_commit_order
3271 1
3272 Warnings:
3273 Warning 1287 '@@slave_preserve_commit_order' is deprecated and will be removed in a future release. Please use replica_preserve_commit_order instead.
3274 include/assert.inc [Variable slave_preserve_commit_order should exist in performance_schema.session_variables]
3275 sysvar:
3276 - name=replica_skip_errors
3277 - alias=slave_skip_errors
3278 - invalid=[0, 1, 1.5, -1, "ON", null, "'x'"]
3279 - global=1
3280 - session=0
3281 - cmdline=1
3282 - persist=1
3283 - persist_as_readonly=1
3284 - dynamic=0
3285 - min=
3286 - max=
3287 - block_size=1
3288 - default=OFF
3289 - values=["all", "ddl_exist_errors", "'1,2'", "'ddl_exist_errors,3,9,3,ddl_exist_errors,all'"]
3290 ==== Testing SET @@global.replica_skip_errors [read-only] ====
3291 # Initial value is default
3292 include/assert.inc [@@global.replica_skip_errors should be OFF]
3293 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3294 include/assert.inc [@@global.slave_skip_errors should be OFF]
3295 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3296 # Valid values for *read-only* variable cannot be set
3297 SET @@global.replica_skip_errors = all;
3298 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3299 include/assert.inc [@@global.replica_skip_errors should be OFF]
3300 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3301 include/assert.inc [@@global.slave_skip_errors should be OFF]
3302 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3303 SET @@global.replica_skip_errors = ddl_exist_errors;
3304 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3305 include/assert.inc [@@global.replica_skip_errors should be OFF]
3306 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3307 include/assert.inc [@@global.slave_skip_errors should be OFF]
3308 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3309 SET @@global.replica_skip_errors = '1,2';
3310 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3311 include/assert.inc [@@global.replica_skip_errors should be OFF]
3312 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3313 include/assert.inc [@@global.slave_skip_errors should be OFF]
3314 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3315 SET @@global.replica_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3316 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3317 include/assert.inc [@@global.replica_skip_errors should be OFF]
3318 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3319 include/assert.inc [@@global.slave_skip_errors should be OFF]
3320 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3321 # Setting default value for variable
3322 SET @@global.replica_skip_errors = DEFAULT;
3323 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3324 include/assert.inc [@@global.replica_skip_errors should be OFF]
3325 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3326 include/assert.inc [@@global.slave_skip_errors should be OFF]
3327 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3328 ==== Testing SET @@session.replica_skip_errors [invalid scope] ====
3329 SET @@session.replica_skip_errors = DEFAULT;
3330 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3331 SET @@replica_skip_errors = DEFAULT;
3332 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3333 SET @@session.replica_skip_errors = all;
3334 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3335 SET @@replica_skip_errors = all;
3336 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3337 SET @@session.replica_skip_errors = ddl_exist_errors;
3338 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3339 SET @@replica_skip_errors = ddl_exist_errors;
3340 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3341 SET @@session.replica_skip_errors = '1,2';
3342 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3343 SET @@replica_skip_errors = '1,2';
3344 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3345 SET @@session.replica_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3346 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3347 SET @@replica_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3348 ERROR HY000: Variable 'replica_skip_errors' is a read only variable
3349 SELECT @@session.replica_skip_errors;
3350 ERROR HY000: Variable 'replica_skip_errors' is a GLOBAL variable
3351 SELECT @@replica_skip_errors;
3352 @@replica_skip_errors
3353 OFF
3354 include/assert.inc [Variable replica_skip_errors should exist in performance_schema.session_variables]
3355 ==== Testing SET @@global.slave_skip_errors [read-only] ====
3356 # Initial value is default
3357 include/assert.inc [@@global.slave_skip_errors should be OFF]
3358 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3359 include/assert.inc [@@global.replica_skip_errors should be OFF]
3360 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3361 # Valid values for *read-only* variable cannot be set
3362 SET @@global.slave_skip_errors = all;
3363 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3364 include/assert.inc [@@global.slave_skip_errors should be OFF]
3365 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3366 include/assert.inc [@@global.replica_skip_errors should be OFF]
3367 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3368 SET @@global.slave_skip_errors = ddl_exist_errors;
3369 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3370 include/assert.inc [@@global.slave_skip_errors should be OFF]
3371 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3372 include/assert.inc [@@global.replica_skip_errors should be OFF]
3373 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3374 SET @@global.slave_skip_errors = '1,2';
3375 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3376 include/assert.inc [@@global.slave_skip_errors should be OFF]
3377 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3378 include/assert.inc [@@global.replica_skip_errors should be OFF]
3379 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3380 SET @@global.slave_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3381 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3382 include/assert.inc [@@global.slave_skip_errors should be OFF]
3383 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3384 include/assert.inc [@@global.replica_skip_errors should be OFF]
3385 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3386 # Setting default value for variable
3387 SET @@global.slave_skip_errors = DEFAULT;
3388 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3389 include/assert.inc [@@global.slave_skip_errors should be OFF]
3390 include/assert.inc [slave_skip_errors should be OFF in P_S.global_variables]
3391 include/assert.inc [@@global.replica_skip_errors should be OFF]
3392 include/assert.inc [replica_skip_errors should be OFF in P_S.global_variables]
3393 ==== Testing SET @@session.slave_skip_errors [invalid scope] ====
3394 SET @@session.slave_skip_errors = DEFAULT;
3395 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3396 SET @@slave_skip_errors = DEFAULT;
3397 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3398 SET @@session.slave_skip_errors = all;
3399 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3400 SET @@slave_skip_errors = all;
3401 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3402 SET @@session.slave_skip_errors = ddl_exist_errors;
3403 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3404 SET @@slave_skip_errors = ddl_exist_errors;
3405 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3406 SET @@session.slave_skip_errors = '1,2';
3407 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3408 SET @@slave_skip_errors = '1,2';
3409 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3410 SET @@session.slave_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3411 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3412 SET @@slave_skip_errors = 'ddl_exist_errors,3,9,3,ddl_exist_errors,all';
3413 ERROR HY000: Variable 'slave_skip_errors' is a read only variable
3414 SELECT @@session.slave_skip_errors;
3415 ERROR HY000: Variable 'slave_skip_errors' is a GLOBAL variable
3416 SELECT @@slave_skip_errors;
3417 @@slave_skip_errors
3418 OFF
3419 Warnings:
3420 Warning 1287 '@@slave_skip_errors' is deprecated and will be removed in a future release. Please use replica_skip_errors instead.
3421 include/assert.inc [Variable slave_skip_errors should exist in performance_schema.session_variables]
3422 sysvar:
3423 - name=replica_sql_verify_checksum
3424 - alias=slave_sql_verify_checksum
3425 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
3426 - global=1
3427 - session=0
3428 - cmdline=1
3429 - persist=1
3430 - persist_as_readonly=0
3431 - dynamic=1
3432 - min=
3433 - max=
3434 - block_size=1
3435 - default=1
3436 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
3437 ==== Testing SET @@global.replica_sql_verify_checksum [allowed values, range, invalid values] ====
3438 # Initial value is 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 # Valid values for variable
3444 SET @@global.replica_sql_verify_checksum=ON;
3445 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3446 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3447 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3448 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3449 SET @@global.replica_sql_verify_checksum=OFF;
3450 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3451 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3452 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3453 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3454 SET @@global.replica_sql_verify_checksum=1;
3455 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3456 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3457 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3458 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3459 SET @@global.replica_sql_verify_checksum=0;
3460 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3461 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3462 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3463 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3464 SET @@global.replica_sql_verify_checksum=TRUE;
3465 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3466 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3467 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3468 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3469 SET @@global.replica_sql_verify_checksum=FALSE;
3470 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3471 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3472 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3473 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3474 SET @@global.replica_sql_verify_checksum='ON';
3475 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3476 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3477 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3478 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3479 SET @@global.replica_sql_verify_checksum='OFF';
3480 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3481 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3482 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3483 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3484 # Setting default value for variable
3485 SET @@global.replica_sql_verify_checksum = DEFAULT;
3486 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3487 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3488 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3489 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3490 # Invalid values
3491 SET @@global.replica_sql_verify_checksum = 0.1;
3492 Got one of the listed errors
3493 SET @@global.replica_sql_verify_checksum = 2;
3494 Got one of the listed errors
3495 SET @@global.replica_sql_verify_checksum = -1;
3496 Got one of the listed errors
3497 SET @@global.replica_sql_verify_checksum = '';
3498 Got one of the listed errors
3499 SET @@global.replica_sql_verify_checksum = 'x';
3500 Got one of the listed errors
3501 SET @@global.replica_sql_verify_checksum = 'TRUE';
3502 Got one of the listed errors
3503 SET @@global.replica_sql_verify_checksum = '1';
3504 Got one of the listed errors
3505 SET @@global.replica_sql_verify_checksum = NULL;
3506 Got one of the listed errors
3507 # Restore default
3508 SET @@global.replica_sql_verify_checksum = DEFAULT;
3509 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3510 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
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 ==== Testing SET @@session.replica_sql_verify_checksum [invalid scope] ====
3514 SET @@session.replica_sql_verify_checksum = DEFAULT;
3515 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3516 SET @@replica_sql_verify_checksum = DEFAULT;
3517 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3518 SET @@session.replica_sql_verify_checksum = ON;
3519 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3520 SET @@replica_sql_verify_checksum = ON;
3521 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3522 SET @@session.replica_sql_verify_checksum = OFF;
3523 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3524 SET @@replica_sql_verify_checksum = OFF;
3525 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3526 SET @@session.replica_sql_verify_checksum = 1;
3527 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3528 SET @@replica_sql_verify_checksum = 1;
3529 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3530 SET @@session.replica_sql_verify_checksum = 0;
3531 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3532 SET @@replica_sql_verify_checksum = 0;
3533 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3534 SET @@session.replica_sql_verify_checksum = TRUE;
3535 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3536 SET @@replica_sql_verify_checksum = TRUE;
3537 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3538 SET @@session.replica_sql_verify_checksum = FALSE;
3539 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3540 SET @@replica_sql_verify_checksum = FALSE;
3541 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3542 SET @@session.replica_sql_verify_checksum = 'ON';
3543 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3544 SET @@replica_sql_verify_checksum = 'ON';
3545 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3546 SET @@session.replica_sql_verify_checksum = 'OFF';
3547 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3548 SET @@replica_sql_verify_checksum = 'OFF';
3549 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3550 SELECT @@session.replica_sql_verify_checksum;
3551 ERROR HY000: Variable 'replica_sql_verify_checksum' is a GLOBAL variable
3552 SELECT @@replica_sql_verify_checksum;
3553 @@replica_sql_verify_checksum
3554 1
3555 include/assert.inc [Variable replica_sql_verify_checksum should exist in performance_schema.session_variables]
3556 ==== Testing SET @@global.slave_sql_verify_checksum [allowed values, range, invalid values] ====
3557 # Initial value is default
3558 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3559 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3560 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3561 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3562 # Valid values for variable
3563 SET @@global.slave_sql_verify_checksum=ON;
3564 Warnings:
3565 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3566 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3567 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3568 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3569 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3570 SET @@global.slave_sql_verify_checksum=OFF;
3571 Warnings:
3572 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3573 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3574 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3575 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3576 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3577 SET @@global.slave_sql_verify_checksum=1;
3578 Warnings:
3579 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3580 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3581 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3582 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3583 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3584 SET @@global.slave_sql_verify_checksum=0;
3585 Warnings:
3586 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3587 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3588 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3589 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3590 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3591 SET @@global.slave_sql_verify_checksum=TRUE;
3592 Warnings:
3593 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3594 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3595 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3596 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3597 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3598 SET @@global.slave_sql_verify_checksum=FALSE;
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 0]
3602 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3603 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3604 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3605 SET @@global.slave_sql_verify_checksum='ON';
3606 Warnings:
3607 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3608 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3609 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3610 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3611 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3612 SET @@global.slave_sql_verify_checksum='OFF';
3613 Warnings:
3614 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3615 include/assert.inc [@@global.slave_sql_verify_checksum should be 0]
3616 include/assert.inc [slave_sql_verify_checksum should be 0 in P_S.global_variables]
3617 include/assert.inc [@@global.replica_sql_verify_checksum should be 0]
3618 include/assert.inc [replica_sql_verify_checksum should be 0 in P_S.global_variables]
3619 # Setting default value for variable
3620 SET @@global.slave_sql_verify_checksum = DEFAULT;
3621 Warnings:
3622 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3623 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3624 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3625 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3626 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3627 # Invalid values
3628 SET @@global.slave_sql_verify_checksum = 0.1;
3629 Got one of the listed errors
3630 SET @@global.slave_sql_verify_checksum = 2;
3631 Got one of the listed errors
3632 SET @@global.slave_sql_verify_checksum = -1;
3633 Got one of the listed errors
3634 SET @@global.slave_sql_verify_checksum = '';
3635 Got one of the listed errors
3636 SET @@global.slave_sql_verify_checksum = 'x';
3637 Got one of the listed errors
3638 SET @@global.slave_sql_verify_checksum = 'TRUE';
3639 Got one of the listed errors
3640 SET @@global.slave_sql_verify_checksum = '1';
3641 Got one of the listed errors
3642 SET @@global.slave_sql_verify_checksum = NULL;
3643 Got one of the listed errors
3644 # Restore default
3645 SET @@global.slave_sql_verify_checksum = DEFAULT;
3646 Warnings:
3647 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3648 include/assert.inc [@@global.slave_sql_verify_checksum should be 1]
3649 include/assert.inc [slave_sql_verify_checksum should be 1 in P_S.global_variables]
3650 include/assert.inc [@@global.replica_sql_verify_checksum should be 1]
3651 include/assert.inc [replica_sql_verify_checksum should be 1 in P_S.global_variables]
3652 ==== Testing SET @@session.slave_sql_verify_checksum [invalid scope] ====
3653 SET @@session.slave_sql_verify_checksum = DEFAULT;
3654 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3655 SET @@slave_sql_verify_checksum = DEFAULT;
3656 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3657 SET @@session.slave_sql_verify_checksum = ON;
3658 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3659 SET @@slave_sql_verify_checksum = ON;
3660 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3661 SET @@session.slave_sql_verify_checksum = OFF;
3662 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3663 SET @@slave_sql_verify_checksum = OFF;
3664 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3665 SET @@session.slave_sql_verify_checksum = 1;
3666 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3667 SET @@slave_sql_verify_checksum = 1;
3668 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3669 SET @@session.slave_sql_verify_checksum = 0;
3670 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3671 SET @@slave_sql_verify_checksum = 0;
3672 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3673 SET @@session.slave_sql_verify_checksum = TRUE;
3674 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3675 SET @@slave_sql_verify_checksum = TRUE;
3676 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3677 SET @@session.slave_sql_verify_checksum = FALSE;
3678 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3679 SET @@slave_sql_verify_checksum = FALSE;
3680 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3681 SET @@session.slave_sql_verify_checksum = 'ON';
3682 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3683 SET @@slave_sql_verify_checksum = 'ON';
3684 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3685 SET @@session.slave_sql_verify_checksum = 'OFF';
3686 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3687 SET @@slave_sql_verify_checksum = 'OFF';
3688 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
3689 SELECT @@session.slave_sql_verify_checksum;
3690 ERROR HY000: Variable 'slave_sql_verify_checksum' is a GLOBAL variable
3691 SELECT @@slave_sql_verify_checksum;
3692 @@slave_sql_verify_checksum
3693 1
3694 Warnings:
3695 Warning 1287 '@@slave_sql_verify_checksum' is deprecated and will be removed in a future release. Please use replica_sql_verify_checksum instead.
3696 include/assert.inc [Variable slave_sql_verify_checksum should exist in performance_schema.session_variables]
3697 sysvar:
3698 - name=replica_transaction_retries
3699 - alias=slave_transaction_retries
3700 - invalid=[1.5, "ON", "'x'", "NULL"]
3701 - global=1
3702 - session=0
3703 - cmdline=1
3704 - persist=1
3705 - persist_as_readonly=0
3706 - dynamic=1
3707 - min=0
3708 - max=18446744073709551615
3709 - block_size=1
3710 - default=10
3711 - values=[1, 2, 99]
3712 ==== Testing SET @@global.replica_transaction_retries [allowed values, range, invalid values] ====
3713 # Initial value is default
3714 include/assert.inc [@@global.replica_transaction_retries should be 10]
3715 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3716 include/assert.inc [@@global.slave_transaction_retries should be 10]
3717 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3718 # Valid values for variable
3719 SET @@global.replica_transaction_retries=1;
3720 include/assert.inc [@@global.replica_transaction_retries should be 1]
3721 include/assert.inc [replica_transaction_retries should be 1 in P_S.global_variables]
3722 include/assert.inc [@@global.slave_transaction_retries should be 1]
3723 include/assert.inc [slave_transaction_retries should be 1 in P_S.global_variables]
3724 SET @@global.replica_transaction_retries=2;
3725 include/assert.inc [@@global.replica_transaction_retries should be 2]
3726 include/assert.inc [replica_transaction_retries should be 2 in P_S.global_variables]
3727 include/assert.inc [@@global.slave_transaction_retries should be 2]
3728 include/assert.inc [slave_transaction_retries should be 2 in P_S.global_variables]
3729 SET @@global.replica_transaction_retries=99;
3730 include/assert.inc [@@global.replica_transaction_retries should be 99]
3731 include/assert.inc [replica_transaction_retries should be 99 in P_S.global_variables]
3732 include/assert.inc [@@global.slave_transaction_retries should be 99]
3733 include/assert.inc [slave_transaction_retries should be 99 in P_S.global_variables]
3734 # Setting default value for variable
3735 SET @@global.replica_transaction_retries = DEFAULT;
3736 include/assert.inc [@@global.replica_transaction_retries should be 10]
3737 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3738 include/assert.inc [@@global.slave_transaction_retries should be 10]
3739 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3740 # Minimum value
3741 SET @@global.replica_transaction_retries = 0;
3742 include/assert.inc [@@global.replica_transaction_retries should be 0]
3743 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3744 include/assert.inc [@@global.slave_transaction_retries should be 0]
3745 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3746 include/assert.inc [Expected min value should equal min value in performance_schema]
3747 # Less-than-minimum values
3748 SET @@global.replica_transaction_retries = -1;
3749 Warnings:
3750 Warning 1292 Truncated incorrect replica_transaction_retries value: '-1'
3751 include/assert.inc [@@global.replica_transaction_retries should be 0]
3752 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3753 include/assert.inc [@@global.slave_transaction_retries should be 0]
3754 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3755 # Maximum value
3756 SET @@global.replica_transaction_retries = 18446744073709551615;
3757 include/assert.inc [@@global.replica_transaction_retries should be 18446744073709551615]
3758 include/assert.inc [replica_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3759 include/assert.inc [@@global.slave_transaction_retries should be 18446744073709551615]
3760 include/assert.inc [slave_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3761 include/assert.inc [Expected max value should equal max value in performance_schema]
3762 # Invalid values
3763 SET @@global.replica_transaction_retries = 1.5;
3764 Got one of the listed errors
3765 SET @@global.replica_transaction_retries = ON;
3766 Got one of the listed errors
3767 SET @@global.replica_transaction_retries = 'x';
3768 Got one of the listed errors
3769 SET @@global.replica_transaction_retries = NULL;
3770 Got one of the listed errors
3771 # Restore default
3772 SET @@global.replica_transaction_retries = DEFAULT;
3773 include/assert.inc [@@global.replica_transaction_retries should be 10]
3774 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3775 include/assert.inc [@@global.slave_transaction_retries should be 10]
3776 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3777 ==== Testing SET @@session.replica_transaction_retries [invalid scope] ====
3778 SET @@session.replica_transaction_retries = DEFAULT;
3779 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3780 SET @@replica_transaction_retries = DEFAULT;
3781 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3782 SET @@session.replica_transaction_retries = 1;
3783 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3784 SET @@replica_transaction_retries = 1;
3785 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3786 SET @@session.replica_transaction_retries = 2;
3787 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3788 SET @@replica_transaction_retries = 2;
3789 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3790 SET @@session.replica_transaction_retries = 99;
3791 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3792 SET @@replica_transaction_retries = 99;
3793 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3794 SELECT @@session.replica_transaction_retries;
3795 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable
3796 SELECT @@replica_transaction_retries;
3797 @@replica_transaction_retries
3798 10
3799 include/assert.inc [Variable replica_transaction_retries should exist in performance_schema.session_variables]
3800 ==== Testing SET @@global.slave_transaction_retries [allowed values, range, invalid values] ====
3801 # Initial value is default
3802 include/assert.inc [@@global.slave_transaction_retries should be 10]
3803 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3804 include/assert.inc [@@global.replica_transaction_retries should be 10]
3805 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3806 # Valid values for variable
3807 SET @@global.slave_transaction_retries=1;
3808 Warnings:
3809 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3810 include/assert.inc [@@global.slave_transaction_retries should be 1]
3811 include/assert.inc [slave_transaction_retries should be 1 in P_S.global_variables]
3812 include/assert.inc [@@global.replica_transaction_retries should be 1]
3813 include/assert.inc [replica_transaction_retries should be 1 in P_S.global_variables]
3814 SET @@global.slave_transaction_retries=2;
3815 Warnings:
3816 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3817 include/assert.inc [@@global.slave_transaction_retries should be 2]
3818 include/assert.inc [slave_transaction_retries should be 2 in P_S.global_variables]
3819 include/assert.inc [@@global.replica_transaction_retries should be 2]
3820 include/assert.inc [replica_transaction_retries should be 2 in P_S.global_variables]
3821 SET @@global.slave_transaction_retries=99;
3822 Warnings:
3823 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3824 include/assert.inc [@@global.slave_transaction_retries should be 99]
3825 include/assert.inc [slave_transaction_retries should be 99 in P_S.global_variables]
3826 include/assert.inc [@@global.replica_transaction_retries should be 99]
3827 include/assert.inc [replica_transaction_retries should be 99 in P_S.global_variables]
3828 # Setting default value for variable
3829 SET @@global.slave_transaction_retries = DEFAULT;
3830 Warnings:
3831 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3832 include/assert.inc [@@global.slave_transaction_retries should be 10]
3833 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3834 include/assert.inc [@@global.replica_transaction_retries should be 10]
3835 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3836 # Minimum value
3837 SET @@global.slave_transaction_retries = 0;
3838 Warnings:
3839 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3840 include/assert.inc [@@global.slave_transaction_retries should be 0]
3841 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3842 include/assert.inc [@@global.replica_transaction_retries should be 0]
3843 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3844 include/assert.inc [Expected min value should equal min value in performance_schema]
3845 # Less-than-minimum values
3846 SET @@global.slave_transaction_retries = -1;
3847 Warnings:
3848 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3849 Warning 1292 Truncated incorrect replica_transaction_retries value: '-1'
3850 include/assert.inc [@@global.slave_transaction_retries should be 0]
3851 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3852 include/assert.inc [@@global.replica_transaction_retries should be 0]
3853 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3854 # Maximum value
3855 SET @@global.slave_transaction_retries = 18446744073709551615;
3856 Warnings:
3857 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3858 include/assert.inc [@@global.slave_transaction_retries should be 18446744073709551615]
3859 include/assert.inc [slave_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3860 include/assert.inc [@@global.replica_transaction_retries should be 18446744073709551615]
3861 include/assert.inc [replica_transaction_retries should be 18446744073709551615 in P_S.global_variables]
3862 include/assert.inc [Expected max value should equal max value in performance_schema]
3863 # Invalid values
3864 SET @@global.slave_transaction_retries = 1.5;
3865 Got one of the listed errors
3866 SET @@global.slave_transaction_retries = ON;
3867 Got one of the listed errors
3868 SET @@global.slave_transaction_retries = 'x';
3869 Got one of the listed errors
3870 SET @@global.slave_transaction_retries = NULL;
3871 Got one of the listed errors
3872 # Restore default
3873 SET @@global.slave_transaction_retries = DEFAULT;
3874 Warnings:
3875 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3876 include/assert.inc [@@global.slave_transaction_retries should be 10]
3877 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3878 include/assert.inc [@@global.replica_transaction_retries should be 10]
3879 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3880 ==== Testing SET @@session.slave_transaction_retries [invalid scope] ====
3881 SET @@session.slave_transaction_retries = DEFAULT;
3882 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3883 SET @@slave_transaction_retries = DEFAULT;
3884 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3885 SET @@session.slave_transaction_retries = 1;
3886 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3887 SET @@slave_transaction_retries = 1;
3888 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3889 SET @@session.slave_transaction_retries = 2;
3890 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3891 SET @@slave_transaction_retries = 2;
3892 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3893 SET @@session.slave_transaction_retries = 99;
3894 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3895 SET @@slave_transaction_retries = 99;
3896 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3897 SELECT @@session.slave_transaction_retries;
3898 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable
3899 SELECT @@slave_transaction_retries;
3900 @@slave_transaction_retries
3901 10
3902 Warnings:
3903 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3904 include/assert.inc [Variable slave_transaction_retries should exist in performance_schema.session_variables]
3905 sysvar:
3906 - name=replica_type_conversions
3907 - alias=slave_type_conversions
3908 - invalid=[1.5, "ON", "'x'", "NULL", "'FOO_BAR'", -1, 16]
3909 - global=1
3910 - session=0
3911 - cmdline=1
3912 - persist=1
3913 - persist_as_readonly=0
3914 - dynamic=1
3915 - min=
3916 - max=
3917 - block_size=1
3918 - default=
3919 - values=["ALL_LOSSY", "'ALL_NON_LOSSY'", "''", "'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED'", 0, 8, 15]
3920 ==== Testing SET @@global.replica_type_conversions [allowed values, range, invalid values] ====
3921 # Initial value is default
3922 include/assert.inc [@@global.replica_type_conversions should be ]
3923 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3924 include/assert.inc [@@global.slave_type_conversions should be ]
3925 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3926 # Valid values for variable
3927 SET @@global.replica_type_conversions=ALL_LOSSY;
3928 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY]
3929 include/assert.inc [replica_type_conversions should be ALL_LOSSY in P_S.global_variables]
3930 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY]
3931 include/assert.inc [slave_type_conversions should be ALL_LOSSY in P_S.global_variables]
3932 SET @@global.replica_type_conversions='ALL_NON_LOSSY';
3933 include/assert.inc [@@global.replica_type_conversions should be ALL_NON_LOSSY]
3934 include/assert.inc [replica_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
3935 include/assert.inc [@@global.slave_type_conversions should be ALL_NON_LOSSY]
3936 include/assert.inc [slave_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
3937 SET @@global.replica_type_conversions='';
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 SET @@global.replica_type_conversions='ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
3943 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3944 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3945 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3946 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3947 SET @@global.replica_type_conversions=0;
3948 include/assert.inc [@@global.replica_type_conversions should be ]
3949 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3950 include/assert.inc [@@global.slave_type_conversions should be ]
3951 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3952 SET @@global.replica_type_conversions=8;
3953 include/assert.inc [@@global.replica_type_conversions should be ALL_SIGNED]
3954 include/assert.inc [replica_type_conversions should be ALL_SIGNED in P_S.global_variables]
3955 include/assert.inc [@@global.slave_type_conversions should be ALL_SIGNED]
3956 include/assert.inc [slave_type_conversions should be ALL_SIGNED in P_S.global_variables]
3957 SET @@global.replica_type_conversions=15;
3958 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3959 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3960 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3961 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3962 # Setting default value for variable
3963 SET @@global.replica_type_conversions = DEFAULT;
3964 include/assert.inc [@@global.replica_type_conversions should be ]
3965 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3966 include/assert.inc [@@global.slave_type_conversions should be ]
3967 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3968 # Invalid values
3969 SET @@global.replica_type_conversions = 1.5;
3970 Got one of the listed errors
3971 SET @@global.replica_type_conversions = ON;
3972 Got one of the listed errors
3973 SET @@global.replica_type_conversions = 'x';
3974 Got one of the listed errors
3975 SET @@global.replica_type_conversions = NULL;
3976 Got one of the listed errors
3977 SET @@global.replica_type_conversions = 'FOO_BAR';
3978 Got one of the listed errors
3979 SET @@global.replica_type_conversions = -1;
3980 Got one of the listed errors
3981 SET @@global.replica_type_conversions = 16;
3982 Got one of the listed errors
3983 # Restore default
3984 SET @@global.replica_type_conversions = DEFAULT;
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 include/assert.inc [@@global.slave_type_conversions should be ]
3988 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3989 ==== Testing SET @@session.replica_type_conversions [invalid scope] ====
3990 SET @@session.replica_type_conversions = DEFAULT;
3991 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3992 SET @@replica_type_conversions = DEFAULT;
3993 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3994 SET @@session.replica_type_conversions = ALL_LOSSY;
3995 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3996 SET @@replica_type_conversions = ALL_LOSSY;
3997 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
3998 SET @@session.replica_type_conversions = 'ALL_NON_LOSSY';
3999 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4000 SET @@replica_type_conversions = 'ALL_NON_LOSSY';
4001 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4002 SET @@session.replica_type_conversions = '';
4003 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4004 SET @@replica_type_conversions = '';
4005 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4006 SET @@session.replica_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4007 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4008 SET @@replica_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4009 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4010 SET @@session.replica_type_conversions = 0;
4011 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4012 SET @@replica_type_conversions = 0;
4013 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4014 SET @@session.replica_type_conversions = 8;
4015 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4016 SET @@replica_type_conversions = 8;
4017 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4018 SET @@session.replica_type_conversions = 15;
4019 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4020 SET @@replica_type_conversions = 15;
4021 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4022 SELECT @@session.replica_type_conversions;
4023 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable
4024 SELECT @@replica_type_conversions;
4025 @@replica_type_conversions
4026
4027 include/assert.inc [Variable replica_type_conversions should exist in performance_schema.session_variables]
4028 ==== Testing SET @@global.slave_type_conversions [allowed values, range, invalid values] ====
4029 # Initial value is default
4030 include/assert.inc [@@global.slave_type_conversions should be ]
4031 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4032 include/assert.inc [@@global.replica_type_conversions should be ]
4033 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4034 # Valid values for variable
4035 SET @@global.slave_type_conversions=ALL_LOSSY;
4036 Warnings:
4037 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4038 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY]
4039 include/assert.inc [slave_type_conversions should be ALL_LOSSY in P_S.global_variables]
4040 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY]
4041 include/assert.inc [replica_type_conversions should be ALL_LOSSY in P_S.global_variables]
4042 SET @@global.slave_type_conversions='ALL_NON_LOSSY';
4043 Warnings:
4044 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4045 include/assert.inc [@@global.slave_type_conversions should be ALL_NON_LOSSY]
4046 include/assert.inc [slave_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
4047 include/assert.inc [@@global.replica_type_conversions should be ALL_NON_LOSSY]
4048 include/assert.inc [replica_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
4049 SET @@global.slave_type_conversions='';
4050 Warnings:
4051 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4052 include/assert.inc [@@global.slave_type_conversions should be ]
4053 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4054 include/assert.inc [@@global.replica_type_conversions should be ]
4055 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4056 SET @@global.slave_type_conversions='ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4057 Warnings:
4058 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4059 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4060 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4061 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4062 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4063 SET @@global.slave_type_conversions=0;
4064 Warnings:
4065 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4066 include/assert.inc [@@global.slave_type_conversions should be ]
4067 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4068 include/assert.inc [@@global.replica_type_conversions should be ]
4069 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4070 SET @@global.slave_type_conversions=8;
4071 Warnings:
4072 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4073 include/assert.inc [@@global.slave_type_conversions should be ALL_SIGNED]
4074 include/assert.inc [slave_type_conversions should be ALL_SIGNED in P_S.global_variables]
4075 include/assert.inc [@@global.replica_type_conversions should be ALL_SIGNED]
4076 include/assert.inc [replica_type_conversions should be ALL_SIGNED in P_S.global_variables]
4077 SET @@global.slave_type_conversions=15;
4078 Warnings:
4079 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4080 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4081 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4082 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4083 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4084 # Setting default value for variable
4085 SET @@global.slave_type_conversions = DEFAULT;
4086 Warnings:
4087 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4088 include/assert.inc [@@global.slave_type_conversions should be ]
4089 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4090 include/assert.inc [@@global.replica_type_conversions should be ]
4091 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4092 # Invalid values
4093 SET @@global.slave_type_conversions = 1.5;
4094 Got one of the listed errors
4095 SET @@global.slave_type_conversions = ON;
4096 Got one of the listed errors
4097 SET @@global.slave_type_conversions = 'x';
4098 Got one of the listed errors
4099 SET @@global.slave_type_conversions = NULL;
4100 Got one of the listed errors
4101 SET @@global.slave_type_conversions = 'FOO_BAR';
4102 Got one of the listed errors
4103 SET @@global.slave_type_conversions = -1;
4104 Got one of the listed errors
4105 SET @@global.slave_type_conversions = 16;
4106 Got one of the listed errors
4107 # Restore default
4108 SET @@global.slave_type_conversions = DEFAULT;
4109 Warnings:
4110 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4111 include/assert.inc [@@global.slave_type_conversions should be ]
4112 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4113 include/assert.inc [@@global.replica_type_conversions should be ]
4114 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4115 ==== Testing SET @@session.slave_type_conversions [invalid scope] ====
4116 SET @@session.slave_type_conversions = DEFAULT;
4117 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4118 SET @@slave_type_conversions = DEFAULT;
4119 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4120 SET @@session.slave_type_conversions = ALL_LOSSY;
4121 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4122 SET @@slave_type_conversions = ALL_LOSSY;
4123 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4124 SET @@session.slave_type_conversions = 'ALL_NON_LOSSY';
4125 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4126 SET @@slave_type_conversions = 'ALL_NON_LOSSY';
4127 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4128 SET @@session.slave_type_conversions = '';
4129 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4130 SET @@slave_type_conversions = '';
4131 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4132 SET @@session.slave_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4133 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4134 SET @@slave_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4135 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4136 SET @@session.slave_type_conversions = 0;
4137 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4138 SET @@slave_type_conversions = 0;
4139 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4140 SET @@session.slave_type_conversions = 8;
4141 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4142 SET @@slave_type_conversions = 8;
4143 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4144 SET @@session.slave_type_conversions = 15;
4145 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4146 SET @@slave_type_conversions = 15;
4147 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4148 SELECT @@session.slave_type_conversions;
4149 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable
4150 SELECT @@slave_type_conversions;
4151 @@slave_type_conversions
4152
4153 Warnings:
4154 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4155 include/assert.inc [Variable slave_type_conversions should exist in performance_schema.session_variables]
4156 sysvar:
4157 - name=rpl_stop_replica_timeout
4158 - alias=rpl_stop_slave_timeout
4159 - invalid=[1.5, "ON", "'x'", "NULL"]
4160 - global=1
4161 - session=0
4162 - cmdline=1
4163 - persist=1
4164 - persist_as_readonly=0
4165 - dynamic=1
4166 - min=2
4167 - max=31536000
4168 - block_size=1
4169 - default=31536000
4170 - values=[100, 200, 3]
4171 ==== Testing SET @@global.rpl_stop_replica_timeout [allowed values, range, invalid values] ====
4172 # Initial value is default
4173 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4174 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4175 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4176 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4177 # Valid values for variable
4178 SET @@global.rpl_stop_replica_timeout=100;
4179 include/assert.inc [@@global.rpl_stop_replica_timeout should be 100]
4180 include/assert.inc [rpl_stop_replica_timeout should be 100 in P_S.global_variables]
4181 include/assert.inc [@@global.rpl_stop_slave_timeout should be 100]
4182 include/assert.inc [rpl_stop_slave_timeout should be 100 in P_S.global_variables]
4183 SET @@global.rpl_stop_replica_timeout=200;
4184 include/assert.inc [@@global.rpl_stop_replica_timeout should be 200]
4185 include/assert.inc [rpl_stop_replica_timeout should be 200 in P_S.global_variables]
4186 include/assert.inc [@@global.rpl_stop_slave_timeout should be 200]
4187 include/assert.inc [rpl_stop_slave_timeout should be 200 in P_S.global_variables]
4188 SET @@global.rpl_stop_replica_timeout=3;
4189 include/assert.inc [@@global.rpl_stop_replica_timeout should be 3]
4190 include/assert.inc [rpl_stop_replica_timeout should be 3 in P_S.global_variables]
4191 include/assert.inc [@@global.rpl_stop_slave_timeout should be 3]
4192 include/assert.inc [rpl_stop_slave_timeout should be 3 in P_S.global_variables]
4193 # Setting default value for variable
4194 SET @@global.rpl_stop_replica_timeout = DEFAULT;
4195 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4196 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4197 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4198 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4199 # Minimum value
4200 SET @@global.rpl_stop_replica_timeout = 2;
4201 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4202 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4203 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4204 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4205 include/assert.inc [Expected min value should equal min value in performance_schema]
4206 # Less-than-minimum values
4207 SET @@global.rpl_stop_replica_timeout = 1;
4208 Warnings:
4209 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '1'
4210 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4211 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4212 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4213 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4214 # Maximum value
4215 SET @@global.rpl_stop_replica_timeout = 31536000;
4216 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4217 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4218 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4219 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4220 include/assert.inc [Expected max value should equal max value in performance_schema]
4221 # Greater-than-maximum values
4222 SET @@global.rpl_stop_replica_timeout = 31536001;
4223 Warnings:
4224 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '31536001'
4225 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4226 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4227 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4228 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4229 # Invalid values
4230 SET @@global.rpl_stop_replica_timeout = 1.5;
4231 Got one of the listed errors
4232 SET @@global.rpl_stop_replica_timeout = ON;
4233 Got one of the listed errors
4234 SET @@global.rpl_stop_replica_timeout = 'x';
4235 Got one of the listed errors
4236 SET @@global.rpl_stop_replica_timeout = NULL;
4237 Got one of the listed errors
4238 # Restore default
4239 SET @@global.rpl_stop_replica_timeout = DEFAULT;
4240 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4241 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4242 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4243 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4244 ==== Testing SET @@session.rpl_stop_replica_timeout [invalid scope] ====
4245 SET @@session.rpl_stop_replica_timeout = DEFAULT;
4246 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4247 SET @@rpl_stop_replica_timeout = DEFAULT;
4248 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4249 SET @@session.rpl_stop_replica_timeout = 100;
4250 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4251 SET @@rpl_stop_replica_timeout = 100;
4252 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4253 SET @@session.rpl_stop_replica_timeout = 200;
4254 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4255 SET @@rpl_stop_replica_timeout = 200;
4256 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4257 SET @@session.rpl_stop_replica_timeout = 3;
4258 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4259 SET @@rpl_stop_replica_timeout = 3;
4260 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4261 SELECT @@session.rpl_stop_replica_timeout;
4262 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable
4263 SELECT @@rpl_stop_replica_timeout;
4264 @@rpl_stop_replica_timeout
4265 31536000
4266 include/assert.inc [Variable rpl_stop_replica_timeout should exist in performance_schema.session_variables]
4267 ==== Testing SET @@global.rpl_stop_slave_timeout [allowed values, range, invalid values] ====
4268 # Initial value is default
4269 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4270 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4271 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4272 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4273 # Valid values for variable
4274 SET @@global.rpl_stop_slave_timeout=100;
4275 Warnings:
4276 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4277 include/assert.inc [@@global.rpl_stop_slave_timeout should be 100]
4278 include/assert.inc [rpl_stop_slave_timeout should be 100 in P_S.global_variables]
4279 include/assert.inc [@@global.rpl_stop_replica_timeout should be 100]
4280 include/assert.inc [rpl_stop_replica_timeout should be 100 in P_S.global_variables]
4281 SET @@global.rpl_stop_slave_timeout=200;
4282 Warnings:
4283 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4284 include/assert.inc [@@global.rpl_stop_slave_timeout should be 200]
4285 include/assert.inc [rpl_stop_slave_timeout should be 200 in P_S.global_variables]
4286 include/assert.inc [@@global.rpl_stop_replica_timeout should be 200]
4287 include/assert.inc [rpl_stop_replica_timeout should be 200 in P_S.global_variables]
4288 SET @@global.rpl_stop_slave_timeout=3;
4289 Warnings:
4290 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4291 include/assert.inc [@@global.rpl_stop_slave_timeout should be 3]
4292 include/assert.inc [rpl_stop_slave_timeout should be 3 in P_S.global_variables]
4293 include/assert.inc [@@global.rpl_stop_replica_timeout should be 3]
4294 include/assert.inc [rpl_stop_replica_timeout should be 3 in P_S.global_variables]
4295 # Setting default value for variable
4296 SET @@global.rpl_stop_slave_timeout = DEFAULT;
4297 Warnings:
4298 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4299 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4300 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4301 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4302 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4303 # Minimum value
4304 SET @@global.rpl_stop_slave_timeout = 2;
4305 Warnings:
4306 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4307 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4308 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4309 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4310 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4311 include/assert.inc [Expected min value should equal min value in performance_schema]
4312 # Less-than-minimum values
4313 SET @@global.rpl_stop_slave_timeout = 1;
4314 Warnings:
4315 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4316 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '1'
4317 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4318 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4319 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4320 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4321 # Maximum value
4322 SET @@global.rpl_stop_slave_timeout = 31536000;
4323 Warnings:
4324 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4325 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4326 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4327 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4328 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4329 include/assert.inc [Expected max value should equal max value in performance_schema]
4330 # Greater-than-maximum values
4331 SET @@global.rpl_stop_slave_timeout = 31536001;
4332 Warnings:
4333 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4334 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '31536001'
4335 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4336 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4337 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4338 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4339 # Invalid values
4340 SET @@global.rpl_stop_slave_timeout = 1.5;
4341 Got one of the listed errors
4342 SET @@global.rpl_stop_slave_timeout = ON;
4343 Got one of the listed errors
4344 SET @@global.rpl_stop_slave_timeout = 'x';
4345 Got one of the listed errors
4346 SET @@global.rpl_stop_slave_timeout = NULL;
4347 Got one of the listed errors
4348 # Restore default
4349 SET @@global.rpl_stop_slave_timeout = DEFAULT;
4350 Warnings:
4351 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4352 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4353 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4354 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4355 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4356 ==== Testing SET @@session.rpl_stop_slave_timeout [invalid scope] ====
4357 SET @@session.rpl_stop_slave_timeout = DEFAULT;
4358 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4359 SET @@rpl_stop_slave_timeout = DEFAULT;
4360 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4361 SET @@session.rpl_stop_slave_timeout = 100;
4362 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4363 SET @@rpl_stop_slave_timeout = 100;
4364 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4365 SET @@session.rpl_stop_slave_timeout = 200;
4366 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4367 SET @@rpl_stop_slave_timeout = 200;
4368 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4369 SET @@session.rpl_stop_slave_timeout = 3;
4370 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4371 SET @@rpl_stop_slave_timeout = 3;
4372 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4373 SELECT @@session.rpl_stop_slave_timeout;
4374 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable
4375 SELECT @@rpl_stop_slave_timeout;
4376 @@rpl_stop_slave_timeout
4377 31536000
4378 Warnings:
4379 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4380 include/assert.inc [Variable rpl_stop_slave_timeout should exist in performance_schema.session_variables]
4381 sysvar:
4382 - name=source_verify_checksum
4383 - alias=master_verify_checksum
4384 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
4385 - global=1
4386 - session=0
4387 - cmdline=1
4388 - persist=1
4389 - persist_as_readonly=0
4390 - dynamic=1
4391 - min=
4392 - max=
4393 - block_size=1
4394 - default=0
4395 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
4396 ==== Testing SET @@global.source_verify_checksum [allowed values, range, invalid values] ====
4397 # Initial value is 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 # Valid values for variable
4403 SET @@global.source_verify_checksum=ON;
4404 include/assert.inc [@@global.source_verify_checksum should be 1]
4405 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4406 include/assert.inc [@@global.master_verify_checksum should be 1]
4407 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4408 SET @@global.source_verify_checksum=OFF;
4409 include/assert.inc [@@global.source_verify_checksum should be 0]
4410 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4411 include/assert.inc [@@global.master_verify_checksum should be 0]
4412 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4413 SET @@global.source_verify_checksum=1;
4414 include/assert.inc [@@global.source_verify_checksum should be 1]
4415 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4416 include/assert.inc [@@global.master_verify_checksum should be 1]
4417 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4418 SET @@global.source_verify_checksum=0;
4419 include/assert.inc [@@global.source_verify_checksum should be 0]
4420 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4421 include/assert.inc [@@global.master_verify_checksum should be 0]
4422 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4423 SET @@global.source_verify_checksum=TRUE;
4424 include/assert.inc [@@global.source_verify_checksum should be 1]
4425 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4426 include/assert.inc [@@global.master_verify_checksum should be 1]
4427 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4428 SET @@global.source_verify_checksum=FALSE;
4429 include/assert.inc [@@global.source_verify_checksum should be 0]
4430 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4431 include/assert.inc [@@global.master_verify_checksum should be 0]
4432 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4433 SET @@global.source_verify_checksum='ON';
4434 include/assert.inc [@@global.source_verify_checksum should be 1]
4435 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4436 include/assert.inc [@@global.master_verify_checksum should be 1]
4437 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4438 SET @@global.source_verify_checksum='OFF';
4439 include/assert.inc [@@global.source_verify_checksum should be 0]
4440 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4441 include/assert.inc [@@global.master_verify_checksum should be 0]
4442 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4443 # Setting default value for variable
4444 SET @@global.source_verify_checksum = DEFAULT;
4445 include/assert.inc [@@global.source_verify_checksum should be 0]
4446 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4447 include/assert.inc [@@global.master_verify_checksum should be 0]
4448 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4449 # Invalid values
4450 SET @@global.source_verify_checksum = 0.1;
4451 Got one of the listed errors
4452 SET @@global.source_verify_checksum = 2;
4453 Got one of the listed errors
4454 SET @@global.source_verify_checksum = -1;
4455 Got one of the listed errors
4456 SET @@global.source_verify_checksum = '';
4457 Got one of the listed errors
4458 SET @@global.source_verify_checksum = 'x';
4459 Got one of the listed errors
4460 SET @@global.source_verify_checksum = 'TRUE';
4461 Got one of the listed errors
4462 SET @@global.source_verify_checksum = '1';
4463 Got one of the listed errors
4464 SET @@global.source_verify_checksum = NULL;
4465 Got one of the listed errors
4466 # Restore default
4467 SET @@global.source_verify_checksum = DEFAULT;
4468 include/assert.inc [@@global.source_verify_checksum should be 0]
4469 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
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 ==== Testing SET @@session.source_verify_checksum [invalid scope] ====
4473 SET @@session.source_verify_checksum = DEFAULT;
4474 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4475 SET @@source_verify_checksum = DEFAULT;
4476 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4477 SET @@session.source_verify_checksum = ON;
4478 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4479 SET @@source_verify_checksum = ON;
4480 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4481 SET @@session.source_verify_checksum = OFF;
4482 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4483 SET @@source_verify_checksum = OFF;
4484 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4485 SET @@session.source_verify_checksum = 1;
4486 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4487 SET @@source_verify_checksum = 1;
4488 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4489 SET @@session.source_verify_checksum = 0;
4490 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4491 SET @@source_verify_checksum = 0;
4492 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4493 SET @@session.source_verify_checksum = TRUE;
4494 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4495 SET @@source_verify_checksum = TRUE;
4496 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4497 SET @@session.source_verify_checksum = FALSE;
4498 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4499 SET @@source_verify_checksum = FALSE;
4500 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4501 SET @@session.source_verify_checksum = 'ON';
4502 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4503 SET @@source_verify_checksum = 'ON';
4504 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4505 SET @@session.source_verify_checksum = 'OFF';
4506 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4507 SET @@source_verify_checksum = 'OFF';
4508 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4509 SELECT @@session.source_verify_checksum;
4510 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable
4511 SELECT @@source_verify_checksum;
4512 @@source_verify_checksum
4513 0
4514 include/assert.inc [Variable source_verify_checksum should exist in performance_schema.session_variables]
4515 ==== Testing SET @@global.master_verify_checksum [allowed values, range, invalid values] ====
4516 # Initial value is default
4517 include/assert.inc [@@global.master_verify_checksum should be 0]
4518 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4519 include/assert.inc [@@global.source_verify_checksum should be 0]
4520 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4521 # Valid values for variable
4522 SET @@global.master_verify_checksum=ON;
4523 Warnings:
4524 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4525 include/assert.inc [@@global.master_verify_checksum should be 1]
4526 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4527 include/assert.inc [@@global.source_verify_checksum should be 1]
4528 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4529 SET @@global.master_verify_checksum=OFF;
4530 Warnings:
4531 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4532 include/assert.inc [@@global.master_verify_checksum should be 0]
4533 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4534 include/assert.inc [@@global.source_verify_checksum should be 0]
4535 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4536 SET @@global.master_verify_checksum=1;
4537 Warnings:
4538 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4539 include/assert.inc [@@global.master_verify_checksum should be 1]
4540 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4541 include/assert.inc [@@global.source_verify_checksum should be 1]
4542 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4543 SET @@global.master_verify_checksum=0;
4544 Warnings:
4545 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4546 include/assert.inc [@@global.master_verify_checksum should be 0]
4547 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4548 include/assert.inc [@@global.source_verify_checksum should be 0]
4549 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4550 SET @@global.master_verify_checksum=TRUE;
4551 Warnings:
4552 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4553 include/assert.inc [@@global.master_verify_checksum should be 1]
4554 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4555 include/assert.inc [@@global.source_verify_checksum should be 1]
4556 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4557 SET @@global.master_verify_checksum=FALSE;
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 SET @@global.master_verify_checksum='ON';
4565 Warnings:
4566 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4567 include/assert.inc [@@global.master_verify_checksum should be 1]
4568 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4569 include/assert.inc [@@global.source_verify_checksum should be 1]
4570 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4571 SET @@global.master_verify_checksum='OFF';
4572 Warnings:
4573 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4574 include/assert.inc [@@global.master_verify_checksum should be 0]
4575 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4576 include/assert.inc [@@global.source_verify_checksum should be 0]
4577 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4578 # Setting default value for variable
4579 SET @@global.master_verify_checksum = DEFAULT;
4580 Warnings:
4581 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4582 include/assert.inc [@@global.master_verify_checksum should be 0]
4583 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4584 include/assert.inc [@@global.source_verify_checksum should be 0]
4585 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4586 # Invalid values
4587 SET @@global.master_verify_checksum = 0.1;
4588 Got one of the listed errors
4589 SET @@global.master_verify_checksum = 2;
4590 Got one of the listed errors
4591 SET @@global.master_verify_checksum = -1;
4592 Got one of the listed errors
4593 SET @@global.master_verify_checksum = '';
4594 Got one of the listed errors
4595 SET @@global.master_verify_checksum = 'x';
4596 Got one of the listed errors
4597 SET @@global.master_verify_checksum = 'TRUE';
4598 Got one of the listed errors
4599 SET @@global.master_verify_checksum = '1';
4600 Got one of the listed errors
4601 SET @@global.master_verify_checksum = NULL;
4602 Got one of the listed errors
4603 # Restore default
4604 SET @@global.master_verify_checksum = DEFAULT;
4605 Warnings:
4606 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4607 include/assert.inc [@@global.master_verify_checksum should be 0]
4608 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4609 include/assert.inc [@@global.source_verify_checksum should be 0]
4610 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4611 ==== Testing SET @@session.master_verify_checksum [invalid scope] ====
4612 SET @@session.master_verify_checksum = DEFAULT;
4613 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4614 SET @@master_verify_checksum = DEFAULT;
4615 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4616 SET @@session.master_verify_checksum = ON;
4617 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4618 SET @@master_verify_checksum = ON;
4619 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4620 SET @@session.master_verify_checksum = OFF;
4621 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4622 SET @@master_verify_checksum = OFF;
4623 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4624 SET @@session.master_verify_checksum = 1;
4625 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4626 SET @@master_verify_checksum = 1;
4627 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4628 SET @@session.master_verify_checksum = 0;
4629 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4630 SET @@master_verify_checksum = 0;
4631 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4632 SET @@session.master_verify_checksum = TRUE;
4633 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4634 SET @@master_verify_checksum = TRUE;
4635 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4636 SET @@session.master_verify_checksum = FALSE;
4637 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4638 SET @@master_verify_checksum = FALSE;
4639 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4640 SET @@session.master_verify_checksum = 'ON';
4641 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4642 SET @@master_verify_checksum = 'ON';
4643 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4644 SET @@session.master_verify_checksum = 'OFF';
4645 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4646 SET @@master_verify_checksum = 'OFF';
4647 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4648 SELECT @@session.master_verify_checksum;
4649 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable
4650 SELECT @@master_verify_checksum;
4651 @@master_verify_checksum
4652 0
4653 Warnings:
4654 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4655 include/assert.inc [Variable master_verify_checksum should exist in performance_schema.session_variables]
4656 sysvar:
4657 - name=sql_replica_skip_counter
4658 - alias=sql_slave_skip_counter
4659 - invalid=[1.5, "ON", "'x'", "NULL"]
4660 - global=1
4661 - session=0
4662 - cmdline=0
4663 - persist=1
4664 - persist_as_readonly=0
4665 - dynamic=1
4666 - min=0
4667 - max=4294967295
4668 - block_size=1
4669 - default=0
4670 - values=[1, 2, 12323]
4671 ==== Testing SET @@global.sql_replica_skip_counter [allowed values, range, invalid values] ====
4672 # Initial value is default
4673 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4674 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4675 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4676 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4677 # Valid values for variable
4678 SET @@global.sql_replica_skip_counter=1;
4679 include/assert.inc [@@global.sql_replica_skip_counter should be 1]
4680 include/assert.inc [sql_replica_skip_counter should be 1 in P_S.global_variables]
4681 include/assert.inc [@@global.sql_slave_skip_counter should be 1]
4682 include/assert.inc [sql_slave_skip_counter should be 1 in P_S.global_variables]
4683 SET @@global.sql_replica_skip_counter=2;
4684 include/assert.inc [@@global.sql_replica_skip_counter should be 2]
4685 include/assert.inc [sql_replica_skip_counter should be 2 in P_S.global_variables]
4686 include/assert.inc [@@global.sql_slave_skip_counter should be 2]
4687 include/assert.inc [sql_slave_skip_counter should be 2 in P_S.global_variables]
4688 SET @@global.sql_replica_skip_counter=12323;
4689 include/assert.inc [@@global.sql_replica_skip_counter should be 12323]
4690 include/assert.inc [sql_replica_skip_counter should be 12323 in P_S.global_variables]
4691 include/assert.inc [@@global.sql_slave_skip_counter should be 12323]
4692 include/assert.inc [sql_slave_skip_counter should be 12323 in P_S.global_variables]
4693 # Setting default value for variable
4694 SET @@global.sql_replica_skip_counter = DEFAULT;
4695 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4696 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4697 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4698 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4699 # Minimum value
4700 SET @@global.sql_replica_skip_counter = 0;
4701 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4702 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4703 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4704 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4705 include/assert.inc [Expected min value should equal min value in performance_schema]
4706 # Less-than-minimum values
4707 SET @@global.sql_replica_skip_counter = -1;
4708 Warnings:
4709 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '-1'
4710 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4711 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4712 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4713 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4714 # Maximum value
4715 SET @@global.sql_replica_skip_counter = 4294967295;
4716 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4717 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4718 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4719 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4720 include/assert.inc [Expected max value should equal max value in performance_schema]
4721 # Greater-than-maximum values
4722 SET @@global.sql_replica_skip_counter = 4294967296;
4723 Warnings:
4724 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '4294967296'
4725 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4726 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4727 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4728 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4729 # Invalid values
4730 SET @@global.sql_replica_skip_counter = 1.5;
4731 Got one of the listed errors
4732 SET @@global.sql_replica_skip_counter = ON;
4733 Got one of the listed errors
4734 SET @@global.sql_replica_skip_counter = 'x';
4735 Got one of the listed errors
4736 SET @@global.sql_replica_skip_counter = NULL;
4737 Got one of the listed errors
4738 # Restore default
4739 SET @@global.sql_replica_skip_counter = DEFAULT;
4740 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4741 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4742 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4743 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4744 ==== Testing SET @@session.sql_replica_skip_counter [invalid scope] ====
4745 SET @@session.sql_replica_skip_counter = DEFAULT;
4746 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4747 SET @@sql_replica_skip_counter = DEFAULT;
4748 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4749 SET @@session.sql_replica_skip_counter = 1;
4750 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4751 SET @@sql_replica_skip_counter = 1;
4752 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4753 SET @@session.sql_replica_skip_counter = 2;
4754 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4755 SET @@sql_replica_skip_counter = 2;
4756 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4757 SET @@session.sql_replica_skip_counter = 12323;
4758 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4759 SET @@sql_replica_skip_counter = 12323;
4760 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4761 SELECT @@session.sql_replica_skip_counter;
4762 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable
4763 SELECT @@sql_replica_skip_counter;
4764 @@sql_replica_skip_counter
4765 0
4766 include/assert.inc [Variable sql_replica_skip_counter should exist in performance_schema.session_variables]
4767 ==== Testing SET @@global.sql_slave_skip_counter [allowed values, range, invalid values] ====
4768 # Initial value is default
4769 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4770 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4771 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4772 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4773 # Valid values for variable
4774 SET @@global.sql_slave_skip_counter=1;
4775 Warnings:
4776 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4777 include/assert.inc [@@global.sql_slave_skip_counter should be 1]
4778 include/assert.inc [sql_slave_skip_counter should be 1 in P_S.global_variables]
4779 include/assert.inc [@@global.sql_replica_skip_counter should be 1]
4780 include/assert.inc [sql_replica_skip_counter should be 1 in P_S.global_variables]
4781 SET @@global.sql_slave_skip_counter=2;
4782 Warnings:
4783 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4784 include/assert.inc [@@global.sql_slave_skip_counter should be 2]
4785 include/assert.inc [sql_slave_skip_counter should be 2 in P_S.global_variables]
4786 include/assert.inc [@@global.sql_replica_skip_counter should be 2]
4787 include/assert.inc [sql_replica_skip_counter should be 2 in P_S.global_variables]
4788 SET @@global.sql_slave_skip_counter=12323;
4789 Warnings:
4790 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4791 include/assert.inc [@@global.sql_slave_skip_counter should be 12323]
4792 include/assert.inc [sql_slave_skip_counter should be 12323 in P_S.global_variables]
4793 include/assert.inc [@@global.sql_replica_skip_counter should be 12323]
4794 include/assert.inc [sql_replica_skip_counter should be 12323 in P_S.global_variables]
4795 # Setting default value for variable
4796 SET @@global.sql_slave_skip_counter = DEFAULT;
4797 Warnings:
4798 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4799 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4800 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4801 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4802 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4803 # Minimum value
4804 SET @@global.sql_slave_skip_counter = 0;
4805 Warnings:
4806 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4807 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4808 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4809 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4810 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4811 include/assert.inc [Expected min value should equal min value in performance_schema]
4812 # Less-than-minimum values
4813 SET @@global.sql_slave_skip_counter = -1;
4814 Warnings:
4815 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4816 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '-1'
4817 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4818 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4819 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4820 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4821 # Maximum value
4822 SET @@global.sql_slave_skip_counter = 4294967295;
4823 Warnings:
4824 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4825 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4826 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4827 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4828 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4829 include/assert.inc [Expected max value should equal max value in performance_schema]
4830 # Greater-than-maximum values
4831 SET @@global.sql_slave_skip_counter = 4294967296;
4832 Warnings:
4833 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4834 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '4294967296'
4835 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4836 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4837 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4838 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4839 # Invalid values
4840 SET @@global.sql_slave_skip_counter = 1.5;
4841 Got one of the listed errors
4842 SET @@global.sql_slave_skip_counter = ON;
4843 Got one of the listed errors
4844 SET @@global.sql_slave_skip_counter = 'x';
4845 Got one of the listed errors
4846 SET @@global.sql_slave_skip_counter = NULL;
4847 Got one of the listed errors
4848 # Restore default
4849 SET @@global.sql_slave_skip_counter = DEFAULT;
4850 Warnings:
4851 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4852 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4853 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4854 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4855 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4856 ==== Testing SET @@session.sql_slave_skip_counter [invalid scope] ====
4857 SET @@session.sql_slave_skip_counter = DEFAULT;
4858 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4859 SET @@sql_slave_skip_counter = DEFAULT;
4860 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4861 SET @@session.sql_slave_skip_counter = 1;
4862 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4863 SET @@sql_slave_skip_counter = 1;
4864 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4865 SET @@session.sql_slave_skip_counter = 2;
4866 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4867 SET @@sql_slave_skip_counter = 2;
4868 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4869 SET @@session.sql_slave_skip_counter = 12323;
4870 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4871 SET @@sql_slave_skip_counter = 12323;
4872 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4873 SELECT @@session.sql_slave_skip_counter;
4874 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable
4875 SELECT @@sql_slave_skip_counter;
4876 @@sql_slave_skip_counter
4877 0
4878 Warnings:
4879 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4880 include/assert.inc [Variable sql_slave_skip_counter should exist in performance_schema.session_variables]
4881 sysvar:
4882 - name=sync_source_info
4883 - alias=sync_master_info
4884 - invalid=[1.5, "ON", "'x'", "NULL"]
4885 - global=1
4886 - session=0
4887 - cmdline=1
4888 - persist=1
4889 - persist_as_readonly=0
4890 - dynamic=1
4891 - min=0
4892 - max=4294967295
4893 - block_size=1
4894 - default=10000
4895 - values=[1, 999, 123456]
4896 ==== Testing SET @@global.sync_source_info [allowed values, range, invalid values] ====
4897 # Initial value is default
4898 include/assert.inc [@@global.sync_source_info should be 10000]
4899 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4900 include/assert.inc [@@global.sync_master_info should be 10000]
4901 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4902 # Valid values for variable
4903 SET @@global.sync_source_info=1;
4904 include/assert.inc [@@global.sync_source_info should be 1]
4905 include/assert.inc [sync_source_info should be 1 in P_S.global_variables]
4906 include/assert.inc [@@global.sync_master_info should be 1]
4907 include/assert.inc [sync_master_info should be 1 in P_S.global_variables]
4908 SET @@global.sync_source_info=999;
4909 include/assert.inc [@@global.sync_source_info should be 999]
4910 include/assert.inc [sync_source_info should be 999 in P_S.global_variables]
4911 include/assert.inc [@@global.sync_master_info should be 999]
4912 include/assert.inc [sync_master_info should be 999 in P_S.global_variables]
4913 SET @@global.sync_source_info=123456;
4914 include/assert.inc [@@global.sync_source_info should be 123456]
4915 include/assert.inc [sync_source_info should be 123456 in P_S.global_variables]
4916 include/assert.inc [@@global.sync_master_info should be 123456]
4917 include/assert.inc [sync_master_info should be 123456 in P_S.global_variables]
4918 # Setting default value for variable
4919 SET @@global.sync_source_info = DEFAULT;
4920 include/assert.inc [@@global.sync_source_info should be 10000]
4921 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4922 include/assert.inc [@@global.sync_master_info should be 10000]
4923 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4924 # Minimum value
4925 SET @@global.sync_source_info = 0;
4926 include/assert.inc [@@global.sync_source_info should be 0]
4927 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4928 include/assert.inc [@@global.sync_master_info should be 0]
4929 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4930 include/assert.inc [Expected min value should equal min value in performance_schema]
4931 # Less-than-minimum values
4932 SET @@global.sync_source_info = -1;
4933 Warnings:
4934 Warning 1292 Truncated incorrect sync_source_info value: '-1'
4935 include/assert.inc [@@global.sync_source_info should be 0]
4936 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4937 include/assert.inc [@@global.sync_master_info should be 0]
4938 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4939 # Maximum value
4940 SET @@global.sync_source_info = 4294967295;
4941 include/assert.inc [@@global.sync_source_info should be 4294967295]
4942 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
4943 include/assert.inc [@@global.sync_master_info should be 4294967295]
4944 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
4945 include/assert.inc [Expected max value should equal max value in performance_schema]
4946 # Greater-than-maximum values
4947 SET @@global.sync_source_info = 4294967296;
4948 Warnings:
4949 Warning 1292 Truncated incorrect sync_source_info value: '4294967296'
4950 include/assert.inc [@@global.sync_source_info should be 4294967295]
4951 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
4952 include/assert.inc [@@global.sync_master_info should be 4294967295]
4953 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
4954 # Invalid values
4955 SET @@global.sync_source_info = 1.5;
4956 Got one of the listed errors
4957 SET @@global.sync_source_info = ON;
4958 Got one of the listed errors
4959 SET @@global.sync_source_info = 'x';
4960 Got one of the listed errors
4961 SET @@global.sync_source_info = NULL;
4962 Got one of the listed errors
4963 # Restore default
4964 SET @@global.sync_source_info = DEFAULT;
4965 include/assert.inc [@@global.sync_source_info should be 10000]
4966 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4967 include/assert.inc [@@global.sync_master_info should be 10000]
4968 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4969 ==== Testing SET @@session.sync_source_info [invalid scope] ====
4970 SET @@session.sync_source_info = DEFAULT;
4971 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4972 SET @@sync_source_info = DEFAULT;
4973 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4974 SET @@session.sync_source_info = 1;
4975 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4976 SET @@sync_source_info = 1;
4977 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4978 SET @@session.sync_source_info = 999;
4979 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4980 SET @@sync_source_info = 999;
4981 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4982 SET @@session.sync_source_info = 123456;
4983 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4984 SET @@sync_source_info = 123456;
4985 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4986 SELECT @@session.sync_source_info;
4987 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable
4988 SELECT @@sync_source_info;
4989 @@sync_source_info
4990 10000
4991 include/assert.inc [Variable sync_source_info should exist in performance_schema.session_variables]
4992 ==== Testing SET @@global.sync_master_info [allowed values, range, invalid values] ====
4993 # Initial value is default
4994 include/assert.inc [@@global.sync_master_info should be 10000]
4995 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4996 include/assert.inc [@@global.sync_source_info should be 10000]
4997 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4998 # Valid values for variable
4999 SET @@global.sync_master_info=1;
5000 Warnings:
5001 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5002 include/assert.inc [@@global.sync_master_info should be 1]
5003 include/assert.inc [sync_master_info should be 1 in P_S.global_variables]
5004 include/assert.inc [@@global.sync_source_info should be 1]
5005 include/assert.inc [sync_source_info should be 1 in P_S.global_variables]
5006 SET @@global.sync_master_info=999;
5007 Warnings:
5008 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5009 include/assert.inc [@@global.sync_master_info should be 999]
5010 include/assert.inc [sync_master_info should be 999 in P_S.global_variables]
5011 include/assert.inc [@@global.sync_source_info should be 999]
5012 include/assert.inc [sync_source_info should be 999 in P_S.global_variables]
5013 SET @@global.sync_master_info=123456;
5014 Warnings:
5015 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5016 include/assert.inc [@@global.sync_master_info should be 123456]
5017 include/assert.inc [sync_master_info should be 123456 in P_S.global_variables]
5018 include/assert.inc [@@global.sync_source_info should be 123456]
5019 include/assert.inc [sync_source_info should be 123456 in P_S.global_variables]
5020 # Setting default value for variable
5021 SET @@global.sync_master_info = DEFAULT;
5022 Warnings:
5023 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5024 include/assert.inc [@@global.sync_master_info should be 10000]
5025 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
5026 include/assert.inc [@@global.sync_source_info should be 10000]
5027 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
5028 # Minimum value
5029 SET @@global.sync_master_info = 0;
5030 Warnings:
5031 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5032 include/assert.inc [@@global.sync_master_info should be 0]
5033 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
5034 include/assert.inc [@@global.sync_source_info should be 0]
5035 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
5036 include/assert.inc [Expected min value should equal min value in performance_schema]
5037 # Less-than-minimum values
5038 SET @@global.sync_master_info = -1;
5039 Warnings:
5040 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5041 Warning 1292 Truncated incorrect sync_source_info value: '-1'
5042 include/assert.inc [@@global.sync_master_info should be 0]
5043 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
5044 include/assert.inc [@@global.sync_source_info should be 0]
5045 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
5046 # Maximum value
5047 SET @@global.sync_master_info = 4294967295;
5048 Warnings:
5049 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5050 include/assert.inc [@@global.sync_master_info should be 4294967295]
5051 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
5052 include/assert.inc [@@global.sync_source_info should be 4294967295]
5053 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
5054 include/assert.inc [Expected max value should equal max value in performance_schema]
5055 # Greater-than-maximum values
5056 SET @@global.sync_master_info = 4294967296;
5057 Warnings:
5058 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5059 Warning 1292 Truncated incorrect sync_source_info value: '4294967296'
5060 include/assert.inc [@@global.sync_master_info should be 4294967295]
5061 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
5062 include/assert.inc [@@global.sync_source_info should be 4294967295]
5063 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
5064 # Invalid values
5065 SET @@global.sync_master_info = 1.5;
5066 Got one of the listed errors
5067 SET @@global.sync_master_info = ON;
5068 Got one of the listed errors
5069 SET @@global.sync_master_info = 'x';
5070 Got one of the listed errors
5071 SET @@global.sync_master_info = NULL;
5072 Got one of the listed errors
5073 # Restore default
5074 SET @@global.sync_master_info = DEFAULT;
5075 Warnings:
5076 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5077 include/assert.inc [@@global.sync_master_info should be 10000]
5078 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
5079 include/assert.inc [@@global.sync_source_info should be 10000]
5080 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
5081 ==== Testing SET @@session.sync_master_info [invalid scope] ====
5082 SET @@session.sync_master_info = DEFAULT;
5083 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5084 SET @@sync_master_info = DEFAULT;
5085 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5086 SET @@session.sync_master_info = 1;
5087 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5088 SET @@sync_master_info = 1;
5089 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5090 SET @@session.sync_master_info = 999;
5091 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5092 SET @@sync_master_info = 999;
5093 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5094 SET @@session.sync_master_info = 123456;
5095 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5096 SET @@sync_master_info = 123456;
5097 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5098 SELECT @@session.sync_master_info;
5099 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable
5100 SELECT @@sync_master_info;
5101 @@sync_master_info
5102 10000
5103 Warnings:
5104 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5105 include/assert.inc [Variable sync_master_info should exist in performance_schema.session_variables]
5106 #### Clean up ####