Debian Codegraph @

mysql-test/suite/sys_vars/r/sysvars_with_aliases_32bit_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=4294967295
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 = 4294967295;
3757 include/assert.inc [@@global.replica_transaction_retries should be 4294967295]
3758 include/assert.inc [replica_transaction_retries should be 4294967295 in P_S.global_variables]
3759 include/assert.inc [@@global.slave_transaction_retries should be 4294967295]
3760 include/assert.inc [slave_transaction_retries should be 4294967295 in P_S.global_variables]
3761 include/assert.inc [Expected max value should equal max value in performance_schema]
3762 # Greater-than-maximum values
3763 SET @@global.replica_transaction_retries = 4294967296;
3764 Warnings:
3765 Warning 1292 Truncated incorrect replica_transaction_retries value: '4294967296'
3766 include/assert.inc [@@global.replica_transaction_retries should be 4294967295]
3767 include/assert.inc [replica_transaction_retries should be 4294967295 in P_S.global_variables]
3768 include/assert.inc [@@global.slave_transaction_retries should be 4294967295]
3769 include/assert.inc [slave_transaction_retries should be 4294967295 in P_S.global_variables]
3770 # Invalid values
3771 SET @@global.replica_transaction_retries = 1.5;
3772 Got one of the listed errors
3773 SET @@global.replica_transaction_retries = ON;
3774 Got one of the listed errors
3775 SET @@global.replica_transaction_retries = 'x';
3776 Got one of the listed errors
3777 SET @@global.replica_transaction_retries = NULL;
3778 Got one of the listed errors
3779 # Restore default
3780 SET @@global.replica_transaction_retries = DEFAULT;
3781 include/assert.inc [@@global.replica_transaction_retries should be 10]
3782 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3783 include/assert.inc [@@global.slave_transaction_retries should be 10]
3784 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3785 ==== Testing SET @@session.replica_transaction_retries [invalid scope] ====
3786 SET @@session.replica_transaction_retries = DEFAULT;
3787 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3788 SET @@replica_transaction_retries = DEFAULT;
3789 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3790 SET @@session.replica_transaction_retries = 1;
3791 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3792 SET @@replica_transaction_retries = 1;
3793 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3794 SET @@session.replica_transaction_retries = 2;
3795 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3796 SET @@replica_transaction_retries = 2;
3797 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3798 SET @@session.replica_transaction_retries = 99;
3799 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3800 SET @@replica_transaction_retries = 99;
3801 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3802 SELECT @@session.replica_transaction_retries;
3803 ERROR HY000: Variable 'replica_transaction_retries' is a GLOBAL variable
3804 SELECT @@replica_transaction_retries;
3805 @@replica_transaction_retries
3806 10
3807 include/assert.inc [Variable replica_transaction_retries should exist in performance_schema.session_variables]
3808 ==== Testing SET @@global.slave_transaction_retries [allowed values, range, invalid values] ====
3809 # Initial value is default
3810 include/assert.inc [@@global.slave_transaction_retries should be 10]
3811 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3812 include/assert.inc [@@global.replica_transaction_retries should be 10]
3813 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3814 # Valid values for variable
3815 SET @@global.slave_transaction_retries=1;
3816 Warnings:
3817 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3818 include/assert.inc [@@global.slave_transaction_retries should be 1]
3819 include/assert.inc [slave_transaction_retries should be 1 in P_S.global_variables]
3820 include/assert.inc [@@global.replica_transaction_retries should be 1]
3821 include/assert.inc [replica_transaction_retries should be 1 in P_S.global_variables]
3822 SET @@global.slave_transaction_retries=2;
3823 Warnings:
3824 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3825 include/assert.inc [@@global.slave_transaction_retries should be 2]
3826 include/assert.inc [slave_transaction_retries should be 2 in P_S.global_variables]
3827 include/assert.inc [@@global.replica_transaction_retries should be 2]
3828 include/assert.inc [replica_transaction_retries should be 2 in P_S.global_variables]
3829 SET @@global.slave_transaction_retries=99;
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 99]
3833 include/assert.inc [slave_transaction_retries should be 99 in P_S.global_variables]
3834 include/assert.inc [@@global.replica_transaction_retries should be 99]
3835 include/assert.inc [replica_transaction_retries should be 99 in P_S.global_variables]
3836 # Setting default value for variable
3837 SET @@global.slave_transaction_retries = DEFAULT;
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 10]
3841 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3842 include/assert.inc [@@global.replica_transaction_retries should be 10]
3843 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3844 # Minimum value
3845 SET @@global.slave_transaction_retries = 0;
3846 Warnings:
3847 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3848 include/assert.inc [@@global.slave_transaction_retries should be 0]
3849 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3850 include/assert.inc [@@global.replica_transaction_retries should be 0]
3851 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3852 include/assert.inc [Expected min value should equal min value in performance_schema]
3853 # Less-than-minimum values
3854 SET @@global.slave_transaction_retries = -1;
3855 Warnings:
3856 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3857 Warning 1292 Truncated incorrect replica_transaction_retries value: '-1'
3858 include/assert.inc [@@global.slave_transaction_retries should be 0]
3859 include/assert.inc [slave_transaction_retries should be 0 in P_S.global_variables]
3860 include/assert.inc [@@global.replica_transaction_retries should be 0]
3861 include/assert.inc [replica_transaction_retries should be 0 in P_S.global_variables]
3862 # Maximum value
3863 SET @@global.slave_transaction_retries = 4294967295;
3864 Warnings:
3865 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3866 include/assert.inc [@@global.slave_transaction_retries should be 4294967295]
3867 include/assert.inc [slave_transaction_retries should be 4294967295 in P_S.global_variables]
3868 include/assert.inc [@@global.replica_transaction_retries should be 4294967295]
3869 include/assert.inc [replica_transaction_retries should be 4294967295 in P_S.global_variables]
3870 include/assert.inc [Expected max value should equal max value in performance_schema]
3871 # Greater-than-maximum values
3872 SET @@global.slave_transaction_retries = 4294967296;
3873 Warnings:
3874 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3875 Warning 1292 Truncated incorrect replica_transaction_retries value: '4294967296'
3876 include/assert.inc [@@global.slave_transaction_retries should be 4294967295]
3877 include/assert.inc [slave_transaction_retries should be 4294967295 in P_S.global_variables]
3878 include/assert.inc [@@global.replica_transaction_retries should be 4294967295]
3879 include/assert.inc [replica_transaction_retries should be 4294967295 in P_S.global_variables]
3880 # Invalid values
3881 SET @@global.slave_transaction_retries = 1.5;
3882 Got one of the listed errors
3883 SET @@global.slave_transaction_retries = ON;
3884 Got one of the listed errors
3885 SET @@global.slave_transaction_retries = 'x';
3886 Got one of the listed errors
3887 SET @@global.slave_transaction_retries = NULL;
3888 Got one of the listed errors
3889 # Restore default
3890 SET @@global.slave_transaction_retries = DEFAULT;
3891 Warnings:
3892 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3893 include/assert.inc [@@global.slave_transaction_retries should be 10]
3894 include/assert.inc [slave_transaction_retries should be 10 in P_S.global_variables]
3895 include/assert.inc [@@global.replica_transaction_retries should be 10]
3896 include/assert.inc [replica_transaction_retries should be 10 in P_S.global_variables]
3897 ==== Testing SET @@session.slave_transaction_retries [invalid scope] ====
3898 SET @@session.slave_transaction_retries = DEFAULT;
3899 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3900 SET @@slave_transaction_retries = DEFAULT;
3901 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3902 SET @@session.slave_transaction_retries = 1;
3903 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3904 SET @@slave_transaction_retries = 1;
3905 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3906 SET @@session.slave_transaction_retries = 2;
3907 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3908 SET @@slave_transaction_retries = 2;
3909 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3910 SET @@session.slave_transaction_retries = 99;
3911 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3912 SET @@slave_transaction_retries = 99;
3913 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
3914 SELECT @@session.slave_transaction_retries;
3915 ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable
3916 SELECT @@slave_transaction_retries;
3917 @@slave_transaction_retries
3918 10
3919 Warnings:
3920 Warning 1287 '@@slave_transaction_retries' is deprecated and will be removed in a future release. Please use replica_transaction_retries instead.
3921 include/assert.inc [Variable slave_transaction_retries should exist in performance_schema.session_variables]
3922 sysvar:
3923 - name=replica_type_conversions
3924 - alias=slave_type_conversions
3925 - invalid=[1.5, "ON", "'x'", "NULL", "'FOO_BAR'", -1, 16]
3926 - global=1
3927 - session=0
3928 - cmdline=1
3929 - persist=1
3930 - persist_as_readonly=0
3931 - dynamic=1
3932 - min=
3933 - max=
3934 - block_size=1
3935 - default=
3936 - values=["ALL_LOSSY", "'ALL_NON_LOSSY'", "''", "'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED'", 0, 8, 15]
3937 ==== Testing SET @@global.replica_type_conversions [allowed values, range, invalid values] ====
3938 # Initial value is default
3939 include/assert.inc [@@global.replica_type_conversions should be ]
3940 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3941 include/assert.inc [@@global.slave_type_conversions should be ]
3942 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3943 # Valid values for variable
3944 SET @@global.replica_type_conversions=ALL_LOSSY;
3945 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY]
3946 include/assert.inc [replica_type_conversions should be ALL_LOSSY in P_S.global_variables]
3947 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY]
3948 include/assert.inc [slave_type_conversions should be ALL_LOSSY in P_S.global_variables]
3949 SET @@global.replica_type_conversions='ALL_NON_LOSSY';
3950 include/assert.inc [@@global.replica_type_conversions should be ALL_NON_LOSSY]
3951 include/assert.inc [replica_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
3952 include/assert.inc [@@global.slave_type_conversions should be ALL_NON_LOSSY]
3953 include/assert.inc [slave_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
3954 SET @@global.replica_type_conversions='';
3955 include/assert.inc [@@global.replica_type_conversions should be ]
3956 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3957 include/assert.inc [@@global.slave_type_conversions should be ]
3958 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3959 SET @@global.replica_type_conversions='ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
3960 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3961 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3962 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3963 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3964 SET @@global.replica_type_conversions=0;
3965 include/assert.inc [@@global.replica_type_conversions should be ]
3966 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3967 include/assert.inc [@@global.slave_type_conversions should be ]
3968 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3969 SET @@global.replica_type_conversions=8;
3970 include/assert.inc [@@global.replica_type_conversions should be ALL_SIGNED]
3971 include/assert.inc [replica_type_conversions should be ALL_SIGNED in P_S.global_variables]
3972 include/assert.inc [@@global.slave_type_conversions should be ALL_SIGNED]
3973 include/assert.inc [slave_type_conversions should be ALL_SIGNED in P_S.global_variables]
3974 SET @@global.replica_type_conversions=15;
3975 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3976 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3977 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
3978 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
3979 # Setting default value for variable
3980 SET @@global.replica_type_conversions = DEFAULT;
3981 include/assert.inc [@@global.replica_type_conversions should be ]
3982 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
3983 include/assert.inc [@@global.slave_type_conversions should be ]
3984 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
3985 # Invalid values
3986 SET @@global.replica_type_conversions = 1.5;
3987 Got one of the listed errors
3988 SET @@global.replica_type_conversions = ON;
3989 Got one of the listed errors
3990 SET @@global.replica_type_conversions = 'x';
3991 Got one of the listed errors
3992 SET @@global.replica_type_conversions = NULL;
3993 Got one of the listed errors
3994 SET @@global.replica_type_conversions = 'FOO_BAR';
3995 Got one of the listed errors
3996 SET @@global.replica_type_conversions = -1;
3997 Got one of the listed errors
3998 SET @@global.replica_type_conversions = 16;
3999 Got one of the listed errors
4000 # Restore default
4001 SET @@global.replica_type_conversions = DEFAULT;
4002 include/assert.inc [@@global.replica_type_conversions should be ]
4003 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4004 include/assert.inc [@@global.slave_type_conversions should be ]
4005 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4006 ==== Testing SET @@session.replica_type_conversions [invalid scope] ====
4007 SET @@session.replica_type_conversions = DEFAULT;
4008 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4009 SET @@replica_type_conversions = DEFAULT;
4010 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4011 SET @@session.replica_type_conversions = ALL_LOSSY;
4012 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4013 SET @@replica_type_conversions = ALL_LOSSY;
4014 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4015 SET @@session.replica_type_conversions = 'ALL_NON_LOSSY';
4016 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4017 SET @@replica_type_conversions = 'ALL_NON_LOSSY';
4018 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4019 SET @@session.replica_type_conversions = '';
4020 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4021 SET @@replica_type_conversions = '';
4022 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4023 SET @@session.replica_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4024 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4025 SET @@replica_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4026 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4027 SET @@session.replica_type_conversions = 0;
4028 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4029 SET @@replica_type_conversions = 0;
4030 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4031 SET @@session.replica_type_conversions = 8;
4032 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4033 SET @@replica_type_conversions = 8;
4034 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4035 SET @@session.replica_type_conversions = 15;
4036 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4037 SET @@replica_type_conversions = 15;
4038 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4039 SELECT @@session.replica_type_conversions;
4040 ERROR HY000: Variable 'replica_type_conversions' is a GLOBAL variable
4041 SELECT @@replica_type_conversions;
4042 @@replica_type_conversions
4043
4044 include/assert.inc [Variable replica_type_conversions should exist in performance_schema.session_variables]
4045 ==== Testing SET @@global.slave_type_conversions [allowed values, range, invalid values] ====
4046 # Initial value is default
4047 include/assert.inc [@@global.slave_type_conversions should be ]
4048 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4049 include/assert.inc [@@global.replica_type_conversions should be ]
4050 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4051 # Valid values for variable
4052 SET @@global.slave_type_conversions=ALL_LOSSY;
4053 Warnings:
4054 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4055 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY]
4056 include/assert.inc [slave_type_conversions should be ALL_LOSSY in P_S.global_variables]
4057 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY]
4058 include/assert.inc [replica_type_conversions should be ALL_LOSSY in P_S.global_variables]
4059 SET @@global.slave_type_conversions='ALL_NON_LOSSY';
4060 Warnings:
4061 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4062 include/assert.inc [@@global.slave_type_conversions should be ALL_NON_LOSSY]
4063 include/assert.inc [slave_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
4064 include/assert.inc [@@global.replica_type_conversions should be ALL_NON_LOSSY]
4065 include/assert.inc [replica_type_conversions should be ALL_NON_LOSSY in P_S.global_variables]
4066 SET @@global.slave_type_conversions='';
4067 Warnings:
4068 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4069 include/assert.inc [@@global.slave_type_conversions should be ]
4070 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4071 include/assert.inc [@@global.replica_type_conversions should be ]
4072 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4073 SET @@global.slave_type_conversions='ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4074 Warnings:
4075 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4076 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4077 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4078 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4079 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4080 SET @@global.slave_type_conversions=0;
4081 Warnings:
4082 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4083 include/assert.inc [@@global.slave_type_conversions should be ]
4084 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4085 include/assert.inc [@@global.replica_type_conversions should be ]
4086 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4087 SET @@global.slave_type_conversions=8;
4088 Warnings:
4089 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4090 include/assert.inc [@@global.slave_type_conversions should be ALL_SIGNED]
4091 include/assert.inc [slave_type_conversions should be ALL_SIGNED in P_S.global_variables]
4092 include/assert.inc [@@global.replica_type_conversions should be ALL_SIGNED]
4093 include/assert.inc [replica_type_conversions should be ALL_SIGNED in P_S.global_variables]
4094 SET @@global.slave_type_conversions=15;
4095 Warnings:
4096 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4097 include/assert.inc [@@global.slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4098 include/assert.inc [slave_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4099 include/assert.inc [@@global.replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED]
4100 include/assert.inc [replica_type_conversions should be ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED in P_S.global_variables]
4101 # Setting default value for variable
4102 SET @@global.slave_type_conversions = DEFAULT;
4103 Warnings:
4104 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4105 include/assert.inc [@@global.slave_type_conversions should be ]
4106 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4107 include/assert.inc [@@global.replica_type_conversions should be ]
4108 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4109 # Invalid values
4110 SET @@global.slave_type_conversions = 1.5;
4111 Got one of the listed errors
4112 SET @@global.slave_type_conversions = ON;
4113 Got one of the listed errors
4114 SET @@global.slave_type_conversions = 'x';
4115 Got one of the listed errors
4116 SET @@global.slave_type_conversions = NULL;
4117 Got one of the listed errors
4118 SET @@global.slave_type_conversions = 'FOO_BAR';
4119 Got one of the listed errors
4120 SET @@global.slave_type_conversions = -1;
4121 Got one of the listed errors
4122 SET @@global.slave_type_conversions = 16;
4123 Got one of the listed errors
4124 # Restore default
4125 SET @@global.slave_type_conversions = DEFAULT;
4126 Warnings:
4127 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4128 include/assert.inc [@@global.slave_type_conversions should be ]
4129 include/assert.inc [slave_type_conversions should be in P_S.global_variables]
4130 include/assert.inc [@@global.replica_type_conversions should be ]
4131 include/assert.inc [replica_type_conversions should be in P_S.global_variables]
4132 ==== Testing SET @@session.slave_type_conversions [invalid scope] ====
4133 SET @@session.slave_type_conversions = DEFAULT;
4134 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4135 SET @@slave_type_conversions = DEFAULT;
4136 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4137 SET @@session.slave_type_conversions = ALL_LOSSY;
4138 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4139 SET @@slave_type_conversions = ALL_LOSSY;
4140 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4141 SET @@session.slave_type_conversions = 'ALL_NON_LOSSY';
4142 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4143 SET @@slave_type_conversions = 'ALL_NON_LOSSY';
4144 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4145 SET @@session.slave_type_conversions = '';
4146 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4147 SET @@slave_type_conversions = '';
4148 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4149 SET @@session.slave_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4150 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4151 SET @@slave_type_conversions = 'ALL_LOSSY,ALL_NON_LOSSY,ALL_UNSIGNED,ALL_SIGNED';
4152 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4153 SET @@session.slave_type_conversions = 0;
4154 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4155 SET @@slave_type_conversions = 0;
4156 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4157 SET @@session.slave_type_conversions = 8;
4158 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4159 SET @@slave_type_conversions = 8;
4160 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4161 SET @@session.slave_type_conversions = 15;
4162 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4163 SET @@slave_type_conversions = 15;
4164 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable and should be set with SET GLOBAL
4165 SELECT @@session.slave_type_conversions;
4166 ERROR HY000: Variable 'slave_type_conversions' is a GLOBAL variable
4167 SELECT @@slave_type_conversions;
4168 @@slave_type_conversions
4169
4170 Warnings:
4171 Warning 1287 '@@slave_type_conversions' is deprecated and will be removed in a future release. Please use replica_type_conversions instead.
4172 include/assert.inc [Variable slave_type_conversions should exist in performance_schema.session_variables]
4173 sysvar:
4174 - name=rpl_stop_replica_timeout
4175 - alias=rpl_stop_slave_timeout
4176 - invalid=[1.5, "ON", "'x'", "NULL"]
4177 - global=1
4178 - session=0
4179 - cmdline=1
4180 - persist=1
4181 - persist_as_readonly=0
4182 - dynamic=1
4183 - min=2
4184 - max=31536000
4185 - block_size=1
4186 - default=31536000
4187 - values=[100, 200, 3]
4188 ==== Testing SET @@global.rpl_stop_replica_timeout [allowed values, range, invalid values] ====
4189 # Initial value is default
4190 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4191 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4192 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4193 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4194 # Valid values for variable
4195 SET @@global.rpl_stop_replica_timeout=100;
4196 include/assert.inc [@@global.rpl_stop_replica_timeout should be 100]
4197 include/assert.inc [rpl_stop_replica_timeout should be 100 in P_S.global_variables]
4198 include/assert.inc [@@global.rpl_stop_slave_timeout should be 100]
4199 include/assert.inc [rpl_stop_slave_timeout should be 100 in P_S.global_variables]
4200 SET @@global.rpl_stop_replica_timeout=200;
4201 include/assert.inc [@@global.rpl_stop_replica_timeout should be 200]
4202 include/assert.inc [rpl_stop_replica_timeout should be 200 in P_S.global_variables]
4203 include/assert.inc [@@global.rpl_stop_slave_timeout should be 200]
4204 include/assert.inc [rpl_stop_slave_timeout should be 200 in P_S.global_variables]
4205 SET @@global.rpl_stop_replica_timeout=3;
4206 include/assert.inc [@@global.rpl_stop_replica_timeout should be 3]
4207 include/assert.inc [rpl_stop_replica_timeout should be 3 in P_S.global_variables]
4208 include/assert.inc [@@global.rpl_stop_slave_timeout should be 3]
4209 include/assert.inc [rpl_stop_slave_timeout should be 3 in P_S.global_variables]
4210 # Setting default value for variable
4211 SET @@global.rpl_stop_replica_timeout = DEFAULT;
4212 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4213 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4214 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4215 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4216 # Minimum value
4217 SET @@global.rpl_stop_replica_timeout = 2;
4218 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4219 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4220 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4221 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4222 include/assert.inc [Expected min value should equal min value in performance_schema]
4223 # Less-than-minimum values
4224 SET @@global.rpl_stop_replica_timeout = 1;
4225 Warnings:
4226 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '1'
4227 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4228 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4229 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4230 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4231 # Maximum value
4232 SET @@global.rpl_stop_replica_timeout = 31536000;
4233 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4234 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4235 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4236 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4237 include/assert.inc [Expected max value should equal max value in performance_schema]
4238 # Greater-than-maximum values
4239 SET @@global.rpl_stop_replica_timeout = 31536001;
4240 Warnings:
4241 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '31536001'
4242 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4243 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4244 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4245 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4246 # Invalid values
4247 SET @@global.rpl_stop_replica_timeout = 1.5;
4248 Got one of the listed errors
4249 SET @@global.rpl_stop_replica_timeout = ON;
4250 Got one of the listed errors
4251 SET @@global.rpl_stop_replica_timeout = 'x';
4252 Got one of the listed errors
4253 SET @@global.rpl_stop_replica_timeout = NULL;
4254 Got one of the listed errors
4255 # Restore default
4256 SET @@global.rpl_stop_replica_timeout = DEFAULT;
4257 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4258 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4259 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4260 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4261 ==== Testing SET @@session.rpl_stop_replica_timeout [invalid scope] ====
4262 SET @@session.rpl_stop_replica_timeout = DEFAULT;
4263 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4264 SET @@rpl_stop_replica_timeout = DEFAULT;
4265 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4266 SET @@session.rpl_stop_replica_timeout = 100;
4267 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4268 SET @@rpl_stop_replica_timeout = 100;
4269 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4270 SET @@session.rpl_stop_replica_timeout = 200;
4271 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4272 SET @@rpl_stop_replica_timeout = 200;
4273 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4274 SET @@session.rpl_stop_replica_timeout = 3;
4275 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4276 SET @@rpl_stop_replica_timeout = 3;
4277 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4278 SELECT @@session.rpl_stop_replica_timeout;
4279 ERROR HY000: Variable 'rpl_stop_replica_timeout' is a GLOBAL variable
4280 SELECT @@rpl_stop_replica_timeout;
4281 @@rpl_stop_replica_timeout
4282 31536000
4283 include/assert.inc [Variable rpl_stop_replica_timeout should exist in performance_schema.session_variables]
4284 ==== Testing SET @@global.rpl_stop_slave_timeout [allowed values, range, invalid values] ====
4285 # Initial value is default
4286 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4287 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4288 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4289 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4290 # Valid values for variable
4291 SET @@global.rpl_stop_slave_timeout=100;
4292 Warnings:
4293 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4294 include/assert.inc [@@global.rpl_stop_slave_timeout should be 100]
4295 include/assert.inc [rpl_stop_slave_timeout should be 100 in P_S.global_variables]
4296 include/assert.inc [@@global.rpl_stop_replica_timeout should be 100]
4297 include/assert.inc [rpl_stop_replica_timeout should be 100 in P_S.global_variables]
4298 SET @@global.rpl_stop_slave_timeout=200;
4299 Warnings:
4300 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4301 include/assert.inc [@@global.rpl_stop_slave_timeout should be 200]
4302 include/assert.inc [rpl_stop_slave_timeout should be 200 in P_S.global_variables]
4303 include/assert.inc [@@global.rpl_stop_replica_timeout should be 200]
4304 include/assert.inc [rpl_stop_replica_timeout should be 200 in P_S.global_variables]
4305 SET @@global.rpl_stop_slave_timeout=3;
4306 Warnings:
4307 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4308 include/assert.inc [@@global.rpl_stop_slave_timeout should be 3]
4309 include/assert.inc [rpl_stop_slave_timeout should be 3 in P_S.global_variables]
4310 include/assert.inc [@@global.rpl_stop_replica_timeout should be 3]
4311 include/assert.inc [rpl_stop_replica_timeout should be 3 in P_S.global_variables]
4312 # Setting default value for variable
4313 SET @@global.rpl_stop_slave_timeout = DEFAULT;
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 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4317 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4318 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4319 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4320 # Minimum value
4321 SET @@global.rpl_stop_slave_timeout = 2;
4322 Warnings:
4323 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4324 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4325 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4326 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4327 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4328 include/assert.inc [Expected min value should equal min value in performance_schema]
4329 # Less-than-minimum values
4330 SET @@global.rpl_stop_slave_timeout = 1;
4331 Warnings:
4332 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4333 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '1'
4334 include/assert.inc [@@global.rpl_stop_slave_timeout should be 2]
4335 include/assert.inc [rpl_stop_slave_timeout should be 2 in P_S.global_variables]
4336 include/assert.inc [@@global.rpl_stop_replica_timeout should be 2]
4337 include/assert.inc [rpl_stop_replica_timeout should be 2 in P_S.global_variables]
4338 # Maximum value
4339 SET @@global.rpl_stop_slave_timeout = 31536000;
4340 Warnings:
4341 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4342 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4343 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4344 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4345 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4346 include/assert.inc [Expected max value should equal max value in performance_schema]
4347 # Greater-than-maximum values
4348 SET @@global.rpl_stop_slave_timeout = 31536001;
4349 Warnings:
4350 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4351 Warning 1292 Truncated incorrect rpl_stop_replica_timeout value: '31536001'
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 # Invalid values
4357 SET @@global.rpl_stop_slave_timeout = 1.5;
4358 Got one of the listed errors
4359 SET @@global.rpl_stop_slave_timeout = ON;
4360 Got one of the listed errors
4361 SET @@global.rpl_stop_slave_timeout = 'x';
4362 Got one of the listed errors
4363 SET @@global.rpl_stop_slave_timeout = NULL;
4364 Got one of the listed errors
4365 # Restore default
4366 SET @@global.rpl_stop_slave_timeout = DEFAULT;
4367 Warnings:
4368 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4369 include/assert.inc [@@global.rpl_stop_slave_timeout should be 31536000]
4370 include/assert.inc [rpl_stop_slave_timeout should be 31536000 in P_S.global_variables]
4371 include/assert.inc [@@global.rpl_stop_replica_timeout should be 31536000]
4372 include/assert.inc [rpl_stop_replica_timeout should be 31536000 in P_S.global_variables]
4373 ==== Testing SET @@session.rpl_stop_slave_timeout [invalid scope] ====
4374 SET @@session.rpl_stop_slave_timeout = DEFAULT;
4375 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4376 SET @@rpl_stop_slave_timeout = DEFAULT;
4377 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4378 SET @@session.rpl_stop_slave_timeout = 100;
4379 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4380 SET @@rpl_stop_slave_timeout = 100;
4381 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4382 SET @@session.rpl_stop_slave_timeout = 200;
4383 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4384 SET @@rpl_stop_slave_timeout = 200;
4385 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4386 SET @@session.rpl_stop_slave_timeout = 3;
4387 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4388 SET @@rpl_stop_slave_timeout = 3;
4389 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable and should be set with SET GLOBAL
4390 SELECT @@session.rpl_stop_slave_timeout;
4391 ERROR HY000: Variable 'rpl_stop_slave_timeout' is a GLOBAL variable
4392 SELECT @@rpl_stop_slave_timeout;
4393 @@rpl_stop_slave_timeout
4394 31536000
4395 Warnings:
4396 Warning 1287 '@@rpl_stop_slave_timeout' is deprecated and will be removed in a future release. Please use rpl_stop_replica_timeout instead.
4397 include/assert.inc [Variable rpl_stop_slave_timeout should exist in performance_schema.session_variables]
4398 sysvar:
4399 - name=source_verify_checksum
4400 - alias=master_verify_checksum
4401 - invalid=[0.1, 2, -1, "''", "'x'", "'TRUE'", "'1'", "NULL"]
4402 - global=1
4403 - session=0
4404 - cmdline=1
4405 - persist=1
4406 - persist_as_readonly=0
4407 - dynamic=1
4408 - min=
4409 - max=
4410 - block_size=1
4411 - default=0
4412 - values=["ON", "OFF", 1, 0, "TRUE", "FALSE", "'ON'", "'OFF'"]
4413 ==== Testing SET @@global.source_verify_checksum [allowed values, range, invalid values] ====
4414 # Initial value is default
4415 include/assert.inc [@@global.source_verify_checksum should be 0]
4416 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4417 include/assert.inc [@@global.master_verify_checksum should be 0]
4418 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4419 # Valid values for variable
4420 SET @@global.source_verify_checksum=ON;
4421 include/assert.inc [@@global.source_verify_checksum should be 1]
4422 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4423 include/assert.inc [@@global.master_verify_checksum should be 1]
4424 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4425 SET @@global.source_verify_checksum=OFF;
4426 include/assert.inc [@@global.source_verify_checksum should be 0]
4427 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4428 include/assert.inc [@@global.master_verify_checksum should be 0]
4429 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4430 SET @@global.source_verify_checksum=1;
4431 include/assert.inc [@@global.source_verify_checksum should be 1]
4432 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4433 include/assert.inc [@@global.master_verify_checksum should be 1]
4434 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4435 SET @@global.source_verify_checksum=0;
4436 include/assert.inc [@@global.source_verify_checksum should be 0]
4437 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4438 include/assert.inc [@@global.master_verify_checksum should be 0]
4439 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4440 SET @@global.source_verify_checksum=TRUE;
4441 include/assert.inc [@@global.source_verify_checksum should be 1]
4442 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4443 include/assert.inc [@@global.master_verify_checksum should be 1]
4444 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4445 SET @@global.source_verify_checksum=FALSE;
4446 include/assert.inc [@@global.source_verify_checksum should be 0]
4447 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4448 include/assert.inc [@@global.master_verify_checksum should be 0]
4449 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4450 SET @@global.source_verify_checksum='ON';
4451 include/assert.inc [@@global.source_verify_checksum should be 1]
4452 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4453 include/assert.inc [@@global.master_verify_checksum should be 1]
4454 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4455 SET @@global.source_verify_checksum='OFF';
4456 include/assert.inc [@@global.source_verify_checksum should be 0]
4457 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4458 include/assert.inc [@@global.master_verify_checksum should be 0]
4459 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4460 # Setting default value for variable
4461 SET @@global.source_verify_checksum = DEFAULT;
4462 include/assert.inc [@@global.source_verify_checksum should be 0]
4463 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4464 include/assert.inc [@@global.master_verify_checksum should be 0]
4465 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4466 # Invalid values
4467 SET @@global.source_verify_checksum = 0.1;
4468 Got one of the listed errors
4469 SET @@global.source_verify_checksum = 2;
4470 Got one of the listed errors
4471 SET @@global.source_verify_checksum = -1;
4472 Got one of the listed errors
4473 SET @@global.source_verify_checksum = '';
4474 Got one of the listed errors
4475 SET @@global.source_verify_checksum = 'x';
4476 Got one of the listed errors
4477 SET @@global.source_verify_checksum = 'TRUE';
4478 Got one of the listed errors
4479 SET @@global.source_verify_checksum = '1';
4480 Got one of the listed errors
4481 SET @@global.source_verify_checksum = NULL;
4482 Got one of the listed errors
4483 # Restore default
4484 SET @@global.source_verify_checksum = DEFAULT;
4485 include/assert.inc [@@global.source_verify_checksum should be 0]
4486 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4487 include/assert.inc [@@global.master_verify_checksum should be 0]
4488 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4489 ==== Testing SET @@session.source_verify_checksum [invalid scope] ====
4490 SET @@session.source_verify_checksum = DEFAULT;
4491 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4492 SET @@source_verify_checksum = DEFAULT;
4493 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4494 SET @@session.source_verify_checksum = ON;
4495 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4496 SET @@source_verify_checksum = ON;
4497 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4498 SET @@session.source_verify_checksum = OFF;
4499 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4500 SET @@source_verify_checksum = OFF;
4501 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4502 SET @@session.source_verify_checksum = 1;
4503 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4504 SET @@source_verify_checksum = 1;
4505 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4506 SET @@session.source_verify_checksum = 0;
4507 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4508 SET @@source_verify_checksum = 0;
4509 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4510 SET @@session.source_verify_checksum = TRUE;
4511 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4512 SET @@source_verify_checksum = TRUE;
4513 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4514 SET @@session.source_verify_checksum = FALSE;
4515 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4516 SET @@source_verify_checksum = FALSE;
4517 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4518 SET @@session.source_verify_checksum = 'ON';
4519 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4520 SET @@source_verify_checksum = 'ON';
4521 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4522 SET @@session.source_verify_checksum = 'OFF';
4523 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4524 SET @@source_verify_checksum = 'OFF';
4525 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4526 SELECT @@session.source_verify_checksum;
4527 ERROR HY000: Variable 'source_verify_checksum' is a GLOBAL variable
4528 SELECT @@source_verify_checksum;
4529 @@source_verify_checksum
4530 0
4531 include/assert.inc [Variable source_verify_checksum should exist in performance_schema.session_variables]
4532 ==== Testing SET @@global.master_verify_checksum [allowed values, range, invalid values] ====
4533 # Initial value is default
4534 include/assert.inc [@@global.master_verify_checksum should be 0]
4535 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4536 include/assert.inc [@@global.source_verify_checksum should be 0]
4537 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4538 # Valid values for variable
4539 SET @@global.master_verify_checksum=ON;
4540 Warnings:
4541 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4542 include/assert.inc [@@global.master_verify_checksum should be 1]
4543 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4544 include/assert.inc [@@global.source_verify_checksum should be 1]
4545 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4546 SET @@global.master_verify_checksum=OFF;
4547 Warnings:
4548 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4549 include/assert.inc [@@global.master_verify_checksum should be 0]
4550 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4551 include/assert.inc [@@global.source_verify_checksum should be 0]
4552 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4553 SET @@global.master_verify_checksum=1;
4554 Warnings:
4555 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4556 include/assert.inc [@@global.master_verify_checksum should be 1]
4557 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4558 include/assert.inc [@@global.source_verify_checksum should be 1]
4559 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4560 SET @@global.master_verify_checksum=0;
4561 Warnings:
4562 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4563 include/assert.inc [@@global.master_verify_checksum should be 0]
4564 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4565 include/assert.inc [@@global.source_verify_checksum should be 0]
4566 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4567 SET @@global.master_verify_checksum=TRUE;
4568 Warnings:
4569 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4570 include/assert.inc [@@global.master_verify_checksum should be 1]
4571 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4572 include/assert.inc [@@global.source_verify_checksum should be 1]
4573 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4574 SET @@global.master_verify_checksum=FALSE;
4575 Warnings:
4576 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4577 include/assert.inc [@@global.master_verify_checksum should be 0]
4578 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4579 include/assert.inc [@@global.source_verify_checksum should be 0]
4580 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4581 SET @@global.master_verify_checksum='ON';
4582 Warnings:
4583 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4584 include/assert.inc [@@global.master_verify_checksum should be 1]
4585 include/assert.inc [master_verify_checksum should be 1 in P_S.global_variables]
4586 include/assert.inc [@@global.source_verify_checksum should be 1]
4587 include/assert.inc [source_verify_checksum should be 1 in P_S.global_variables]
4588 SET @@global.master_verify_checksum='OFF';
4589 Warnings:
4590 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4591 include/assert.inc [@@global.master_verify_checksum should be 0]
4592 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4593 include/assert.inc [@@global.source_verify_checksum should be 0]
4594 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4595 # Setting default value for variable
4596 SET @@global.master_verify_checksum = DEFAULT;
4597 Warnings:
4598 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4599 include/assert.inc [@@global.master_verify_checksum should be 0]
4600 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4601 include/assert.inc [@@global.source_verify_checksum should be 0]
4602 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4603 # Invalid values
4604 SET @@global.master_verify_checksum = 0.1;
4605 Got one of the listed errors
4606 SET @@global.master_verify_checksum = 2;
4607 Got one of the listed errors
4608 SET @@global.master_verify_checksum = -1;
4609 Got one of the listed errors
4610 SET @@global.master_verify_checksum = '';
4611 Got one of the listed errors
4612 SET @@global.master_verify_checksum = 'x';
4613 Got one of the listed errors
4614 SET @@global.master_verify_checksum = 'TRUE';
4615 Got one of the listed errors
4616 SET @@global.master_verify_checksum = '1';
4617 Got one of the listed errors
4618 SET @@global.master_verify_checksum = NULL;
4619 Got one of the listed errors
4620 # Restore default
4621 SET @@global.master_verify_checksum = DEFAULT;
4622 Warnings:
4623 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4624 include/assert.inc [@@global.master_verify_checksum should be 0]
4625 include/assert.inc [master_verify_checksum should be 0 in P_S.global_variables]
4626 include/assert.inc [@@global.source_verify_checksum should be 0]
4627 include/assert.inc [source_verify_checksum should be 0 in P_S.global_variables]
4628 ==== Testing SET @@session.master_verify_checksum [invalid scope] ====
4629 SET @@session.master_verify_checksum = DEFAULT;
4630 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4631 SET @@master_verify_checksum = DEFAULT;
4632 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4633 SET @@session.master_verify_checksum = ON;
4634 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4635 SET @@master_verify_checksum = ON;
4636 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4637 SET @@session.master_verify_checksum = OFF;
4638 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4639 SET @@master_verify_checksum = OFF;
4640 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4641 SET @@session.master_verify_checksum = 1;
4642 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4643 SET @@master_verify_checksum = 1;
4644 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4645 SET @@session.master_verify_checksum = 0;
4646 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4647 SET @@master_verify_checksum = 0;
4648 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4649 SET @@session.master_verify_checksum = TRUE;
4650 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4651 SET @@master_verify_checksum = TRUE;
4652 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4653 SET @@session.master_verify_checksum = FALSE;
4654 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4655 SET @@master_verify_checksum = FALSE;
4656 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4657 SET @@session.master_verify_checksum = 'ON';
4658 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4659 SET @@master_verify_checksum = 'ON';
4660 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4661 SET @@session.master_verify_checksum = 'OFF';
4662 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4663 SET @@master_verify_checksum = 'OFF';
4664 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable and should be set with SET GLOBAL
4665 SELECT @@session.master_verify_checksum;
4666 ERROR HY000: Variable 'master_verify_checksum' is a GLOBAL variable
4667 SELECT @@master_verify_checksum;
4668 @@master_verify_checksum
4669 0
4670 Warnings:
4671 Warning 1287 '@@master_verify_checksum' is deprecated and will be removed in a future release. Please use source_verify_checksum instead.
4672 include/assert.inc [Variable master_verify_checksum should exist in performance_schema.session_variables]
4673 sysvar:
4674 - name=sql_replica_skip_counter
4675 - alias=sql_slave_skip_counter
4676 - invalid=[1.5, "ON", "'x'", "NULL"]
4677 - global=1
4678 - session=0
4679 - cmdline=0
4680 - persist=1
4681 - persist_as_readonly=0
4682 - dynamic=1
4683 - min=0
4684 - max=4294967295
4685 - block_size=1
4686 - default=0
4687 - values=[1, 2, 12323]
4688 ==== Testing SET @@global.sql_replica_skip_counter [allowed values, range, invalid values] ====
4689 # Initial value is default
4690 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4691 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4692 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4693 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4694 # Valid values for variable
4695 SET @@global.sql_replica_skip_counter=1;
4696 include/assert.inc [@@global.sql_replica_skip_counter should be 1]
4697 include/assert.inc [sql_replica_skip_counter should be 1 in P_S.global_variables]
4698 include/assert.inc [@@global.sql_slave_skip_counter should be 1]
4699 include/assert.inc [sql_slave_skip_counter should be 1 in P_S.global_variables]
4700 SET @@global.sql_replica_skip_counter=2;
4701 include/assert.inc [@@global.sql_replica_skip_counter should be 2]
4702 include/assert.inc [sql_replica_skip_counter should be 2 in P_S.global_variables]
4703 include/assert.inc [@@global.sql_slave_skip_counter should be 2]
4704 include/assert.inc [sql_slave_skip_counter should be 2 in P_S.global_variables]
4705 SET @@global.sql_replica_skip_counter=12323;
4706 include/assert.inc [@@global.sql_replica_skip_counter should be 12323]
4707 include/assert.inc [sql_replica_skip_counter should be 12323 in P_S.global_variables]
4708 include/assert.inc [@@global.sql_slave_skip_counter should be 12323]
4709 include/assert.inc [sql_slave_skip_counter should be 12323 in P_S.global_variables]
4710 # Setting default value for variable
4711 SET @@global.sql_replica_skip_counter = DEFAULT;
4712 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4713 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4714 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4715 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4716 # Minimum value
4717 SET @@global.sql_replica_skip_counter = 0;
4718 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4719 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4720 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4721 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4722 include/assert.inc [Expected min value should equal min value in performance_schema]
4723 # Less-than-minimum values
4724 SET @@global.sql_replica_skip_counter = -1;
4725 Warnings:
4726 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '-1'
4727 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4728 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4729 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4730 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4731 # Maximum value
4732 SET @@global.sql_replica_skip_counter = 4294967295;
4733 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4734 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4735 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4736 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4737 include/assert.inc [Expected max value should equal max value in performance_schema]
4738 # Greater-than-maximum values
4739 SET @@global.sql_replica_skip_counter = 4294967296;
4740 Warnings:
4741 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '4294967296'
4742 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4743 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4744 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4745 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4746 # Invalid values
4747 SET @@global.sql_replica_skip_counter = 1.5;
4748 Got one of the listed errors
4749 SET @@global.sql_replica_skip_counter = ON;
4750 Got one of the listed errors
4751 SET @@global.sql_replica_skip_counter = 'x';
4752 Got one of the listed errors
4753 SET @@global.sql_replica_skip_counter = NULL;
4754 Got one of the listed errors
4755 # Restore default
4756 SET @@global.sql_replica_skip_counter = DEFAULT;
4757 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4758 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4759 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4760 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4761 ==== Testing SET @@session.sql_replica_skip_counter [invalid scope] ====
4762 SET @@session.sql_replica_skip_counter = DEFAULT;
4763 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4764 SET @@sql_replica_skip_counter = DEFAULT;
4765 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4766 SET @@session.sql_replica_skip_counter = 1;
4767 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4768 SET @@sql_replica_skip_counter = 1;
4769 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4770 SET @@session.sql_replica_skip_counter = 2;
4771 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4772 SET @@sql_replica_skip_counter = 2;
4773 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4774 SET @@session.sql_replica_skip_counter = 12323;
4775 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4776 SET @@sql_replica_skip_counter = 12323;
4777 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4778 SELECT @@session.sql_replica_skip_counter;
4779 ERROR HY000: Variable 'sql_replica_skip_counter' is a GLOBAL variable
4780 SELECT @@sql_replica_skip_counter;
4781 @@sql_replica_skip_counter
4782 0
4783 include/assert.inc [Variable sql_replica_skip_counter should exist in performance_schema.session_variables]
4784 ==== Testing SET @@global.sql_slave_skip_counter [allowed values, range, invalid values] ====
4785 # Initial value is default
4786 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4787 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4788 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4789 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4790 # Valid values for variable
4791 SET @@global.sql_slave_skip_counter=1;
4792 Warnings:
4793 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4794 include/assert.inc [@@global.sql_slave_skip_counter should be 1]
4795 include/assert.inc [sql_slave_skip_counter should be 1 in P_S.global_variables]
4796 include/assert.inc [@@global.sql_replica_skip_counter should be 1]
4797 include/assert.inc [sql_replica_skip_counter should be 1 in P_S.global_variables]
4798 SET @@global.sql_slave_skip_counter=2;
4799 Warnings:
4800 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4801 include/assert.inc [@@global.sql_slave_skip_counter should be 2]
4802 include/assert.inc [sql_slave_skip_counter should be 2 in P_S.global_variables]
4803 include/assert.inc [@@global.sql_replica_skip_counter should be 2]
4804 include/assert.inc [sql_replica_skip_counter should be 2 in P_S.global_variables]
4805 SET @@global.sql_slave_skip_counter=12323;
4806 Warnings:
4807 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4808 include/assert.inc [@@global.sql_slave_skip_counter should be 12323]
4809 include/assert.inc [sql_slave_skip_counter should be 12323 in P_S.global_variables]
4810 include/assert.inc [@@global.sql_replica_skip_counter should be 12323]
4811 include/assert.inc [sql_replica_skip_counter should be 12323 in P_S.global_variables]
4812 # Setting default value for variable
4813 SET @@global.sql_slave_skip_counter = DEFAULT;
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 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4817 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4818 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4819 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4820 # Minimum value
4821 SET @@global.sql_slave_skip_counter = 0;
4822 Warnings:
4823 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4824 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4825 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4826 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4827 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4828 include/assert.inc [Expected min value should equal min value in performance_schema]
4829 # Less-than-minimum values
4830 SET @@global.sql_slave_skip_counter = -1;
4831 Warnings:
4832 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4833 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '-1'
4834 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4835 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4836 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4837 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4838 # Maximum value
4839 SET @@global.sql_slave_skip_counter = 4294967295;
4840 Warnings:
4841 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4842 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4843 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4844 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4845 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4846 include/assert.inc [Expected max value should equal max value in performance_schema]
4847 # Greater-than-maximum values
4848 SET @@global.sql_slave_skip_counter = 4294967296;
4849 Warnings:
4850 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4851 Warning 1292 Truncated incorrect sql_replica_skip_counter value: '4294967296'
4852 include/assert.inc [@@global.sql_slave_skip_counter should be 4294967295]
4853 include/assert.inc [sql_slave_skip_counter should be 4294967295 in P_S.global_variables]
4854 include/assert.inc [@@global.sql_replica_skip_counter should be 4294967295]
4855 include/assert.inc [sql_replica_skip_counter should be 4294967295 in P_S.global_variables]
4856 # Invalid values
4857 SET @@global.sql_slave_skip_counter = 1.5;
4858 Got one of the listed errors
4859 SET @@global.sql_slave_skip_counter = ON;
4860 Got one of the listed errors
4861 SET @@global.sql_slave_skip_counter = 'x';
4862 Got one of the listed errors
4863 SET @@global.sql_slave_skip_counter = NULL;
4864 Got one of the listed errors
4865 # Restore default
4866 SET @@global.sql_slave_skip_counter = DEFAULT;
4867 Warnings:
4868 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4869 include/assert.inc [@@global.sql_slave_skip_counter should be 0]
4870 include/assert.inc [sql_slave_skip_counter should be 0 in P_S.global_variables]
4871 include/assert.inc [@@global.sql_replica_skip_counter should be 0]
4872 include/assert.inc [sql_replica_skip_counter should be 0 in P_S.global_variables]
4873 ==== Testing SET @@session.sql_slave_skip_counter [invalid scope] ====
4874 SET @@session.sql_slave_skip_counter = DEFAULT;
4875 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4876 SET @@sql_slave_skip_counter = DEFAULT;
4877 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4878 SET @@session.sql_slave_skip_counter = 1;
4879 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4880 SET @@sql_slave_skip_counter = 1;
4881 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4882 SET @@session.sql_slave_skip_counter = 2;
4883 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4884 SET @@sql_slave_skip_counter = 2;
4885 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4886 SET @@session.sql_slave_skip_counter = 12323;
4887 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4888 SET @@sql_slave_skip_counter = 12323;
4889 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable and should be set with SET GLOBAL
4890 SELECT @@session.sql_slave_skip_counter;
4891 ERROR HY000: Variable 'sql_slave_skip_counter' is a GLOBAL variable
4892 SELECT @@sql_slave_skip_counter;
4893 @@sql_slave_skip_counter
4894 0
4895 Warnings:
4896 Warning 1287 '@@sql_slave_skip_counter' is deprecated and will be removed in a future release. Please use sql_replica_skip_counter instead.
4897 include/assert.inc [Variable sql_slave_skip_counter should exist in performance_schema.session_variables]
4898 sysvar:
4899 - name=sync_source_info
4900 - alias=sync_master_info
4901 - invalid=[1.5, "ON", "'x'", "NULL"]
4902 - global=1
4903 - session=0
4904 - cmdline=1
4905 - persist=1
4906 - persist_as_readonly=0
4907 - dynamic=1
4908 - min=0
4909 - max=4294967295
4910 - block_size=1
4911 - default=10000
4912 - values=[1, 999, 123456]
4913 ==== Testing SET @@global.sync_source_info [allowed values, range, invalid values] ====
4914 # Initial value is default
4915 include/assert.inc [@@global.sync_source_info should be 10000]
4916 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4917 include/assert.inc [@@global.sync_master_info should be 10000]
4918 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4919 # Valid values for variable
4920 SET @@global.sync_source_info=1;
4921 include/assert.inc [@@global.sync_source_info should be 1]
4922 include/assert.inc [sync_source_info should be 1 in P_S.global_variables]
4923 include/assert.inc [@@global.sync_master_info should be 1]
4924 include/assert.inc [sync_master_info should be 1 in P_S.global_variables]
4925 SET @@global.sync_source_info=999;
4926 include/assert.inc [@@global.sync_source_info should be 999]
4927 include/assert.inc [sync_source_info should be 999 in P_S.global_variables]
4928 include/assert.inc [@@global.sync_master_info should be 999]
4929 include/assert.inc [sync_master_info should be 999 in P_S.global_variables]
4930 SET @@global.sync_source_info=123456;
4931 include/assert.inc [@@global.sync_source_info should be 123456]
4932 include/assert.inc [sync_source_info should be 123456 in P_S.global_variables]
4933 include/assert.inc [@@global.sync_master_info should be 123456]
4934 include/assert.inc [sync_master_info should be 123456 in P_S.global_variables]
4935 # Setting default value for variable
4936 SET @@global.sync_source_info = DEFAULT;
4937 include/assert.inc [@@global.sync_source_info should be 10000]
4938 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4939 include/assert.inc [@@global.sync_master_info should be 10000]
4940 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4941 # Minimum value
4942 SET @@global.sync_source_info = 0;
4943 include/assert.inc [@@global.sync_source_info should be 0]
4944 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4945 include/assert.inc [@@global.sync_master_info should be 0]
4946 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4947 include/assert.inc [Expected min value should equal min value in performance_schema]
4948 # Less-than-minimum values
4949 SET @@global.sync_source_info = -1;
4950 Warnings:
4951 Warning 1292 Truncated incorrect sync_source_info value: '-1'
4952 include/assert.inc [@@global.sync_source_info should be 0]
4953 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
4954 include/assert.inc [@@global.sync_master_info should be 0]
4955 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
4956 # Maximum value
4957 SET @@global.sync_source_info = 4294967295;
4958 include/assert.inc [@@global.sync_source_info should be 4294967295]
4959 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
4960 include/assert.inc [@@global.sync_master_info should be 4294967295]
4961 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
4962 include/assert.inc [Expected max value should equal max value in performance_schema]
4963 # Greater-than-maximum values
4964 SET @@global.sync_source_info = 4294967296;
4965 Warnings:
4966 Warning 1292 Truncated incorrect sync_source_info value: '4294967296'
4967 include/assert.inc [@@global.sync_source_info should be 4294967295]
4968 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
4969 include/assert.inc [@@global.sync_master_info should be 4294967295]
4970 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
4971 # Invalid values
4972 SET @@global.sync_source_info = 1.5;
4973 Got one of the listed errors
4974 SET @@global.sync_source_info = ON;
4975 Got one of the listed errors
4976 SET @@global.sync_source_info = 'x';
4977 Got one of the listed errors
4978 SET @@global.sync_source_info = NULL;
4979 Got one of the listed errors
4980 # Restore default
4981 SET @@global.sync_source_info = DEFAULT;
4982 include/assert.inc [@@global.sync_source_info should be 10000]
4983 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
4984 include/assert.inc [@@global.sync_master_info should be 10000]
4985 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
4986 ==== Testing SET @@session.sync_source_info [invalid scope] ====
4987 SET @@session.sync_source_info = DEFAULT;
4988 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4989 SET @@sync_source_info = DEFAULT;
4990 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4991 SET @@session.sync_source_info = 1;
4992 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4993 SET @@sync_source_info = 1;
4994 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4995 SET @@session.sync_source_info = 999;
4996 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4997 SET @@sync_source_info = 999;
4998 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
4999 SET @@session.sync_source_info = 123456;
5000 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
5001 SET @@sync_source_info = 123456;
5002 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable and should be set with SET GLOBAL
5003 SELECT @@session.sync_source_info;
5004 ERROR HY000: Variable 'sync_source_info' is a GLOBAL variable
5005 SELECT @@sync_source_info;
5006 @@sync_source_info
5007 10000
5008 include/assert.inc [Variable sync_source_info should exist in performance_schema.session_variables]
5009 ==== Testing SET @@global.sync_master_info [allowed values, range, invalid values] ====
5010 # Initial value is default
5011 include/assert.inc [@@global.sync_master_info should be 10000]
5012 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
5013 include/assert.inc [@@global.sync_source_info should be 10000]
5014 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
5015 # Valid values for variable
5016 SET @@global.sync_master_info=1;
5017 Warnings:
5018 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5019 include/assert.inc [@@global.sync_master_info should be 1]
5020 include/assert.inc [sync_master_info should be 1 in P_S.global_variables]
5021 include/assert.inc [@@global.sync_source_info should be 1]
5022 include/assert.inc [sync_source_info should be 1 in P_S.global_variables]
5023 SET @@global.sync_master_info=999;
5024 Warnings:
5025 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5026 include/assert.inc [@@global.sync_master_info should be 999]
5027 include/assert.inc [sync_master_info should be 999 in P_S.global_variables]
5028 include/assert.inc [@@global.sync_source_info should be 999]
5029 include/assert.inc [sync_source_info should be 999 in P_S.global_variables]
5030 SET @@global.sync_master_info=123456;
5031 Warnings:
5032 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5033 include/assert.inc [@@global.sync_master_info should be 123456]
5034 include/assert.inc [sync_master_info should be 123456 in P_S.global_variables]
5035 include/assert.inc [@@global.sync_source_info should be 123456]
5036 include/assert.inc [sync_source_info should be 123456 in P_S.global_variables]
5037 # Setting default value for variable
5038 SET @@global.sync_master_info = DEFAULT;
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 include/assert.inc [@@global.sync_master_info should be 10000]
5042 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
5043 include/assert.inc [@@global.sync_source_info should be 10000]
5044 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
5045 # Minimum value
5046 SET @@global.sync_master_info = 0;
5047 Warnings:
5048 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5049 include/assert.inc [@@global.sync_master_info should be 0]
5050 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
5051 include/assert.inc [@@global.sync_source_info should be 0]
5052 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
5053 include/assert.inc [Expected min value should equal min value in performance_schema]
5054 # Less-than-minimum values
5055 SET @@global.sync_master_info = -1;
5056 Warnings:
5057 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5058 Warning 1292 Truncated incorrect sync_source_info value: '-1'
5059 include/assert.inc [@@global.sync_master_info should be 0]
5060 include/assert.inc [sync_master_info should be 0 in P_S.global_variables]
5061 include/assert.inc [@@global.sync_source_info should be 0]
5062 include/assert.inc [sync_source_info should be 0 in P_S.global_variables]
5063 # Maximum value
5064 SET @@global.sync_master_info = 4294967295;
5065 Warnings:
5066 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5067 include/assert.inc [@@global.sync_master_info should be 4294967295]
5068 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
5069 include/assert.inc [@@global.sync_source_info should be 4294967295]
5070 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
5071 include/assert.inc [Expected max value should equal max value in performance_schema]
5072 # Greater-than-maximum values
5073 SET @@global.sync_master_info = 4294967296;
5074 Warnings:
5075 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5076 Warning 1292 Truncated incorrect sync_source_info value: '4294967296'
5077 include/assert.inc [@@global.sync_master_info should be 4294967295]
5078 include/assert.inc [sync_master_info should be 4294967295 in P_S.global_variables]
5079 include/assert.inc [@@global.sync_source_info should be 4294967295]
5080 include/assert.inc [sync_source_info should be 4294967295 in P_S.global_variables]
5081 # Invalid values
5082 SET @@global.sync_master_info = 1.5;
5083 Got one of the listed errors
5084 SET @@global.sync_master_info = ON;
5085 Got one of the listed errors
5086 SET @@global.sync_master_info = 'x';
5087 Got one of the listed errors
5088 SET @@global.sync_master_info = NULL;
5089 Got one of the listed errors
5090 # Restore default
5091 SET @@global.sync_master_info = DEFAULT;
5092 Warnings:
5093 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5094 include/assert.inc [@@global.sync_master_info should be 10000]
5095 include/assert.inc [sync_master_info should be 10000 in P_S.global_variables]
5096 include/assert.inc [@@global.sync_source_info should be 10000]
5097 include/assert.inc [sync_source_info should be 10000 in P_S.global_variables]
5098 ==== Testing SET @@session.sync_master_info [invalid scope] ====
5099 SET @@session.sync_master_info = DEFAULT;
5100 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5101 SET @@sync_master_info = DEFAULT;
5102 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5103 SET @@session.sync_master_info = 1;
5104 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5105 SET @@sync_master_info = 1;
5106 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5107 SET @@session.sync_master_info = 999;
5108 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5109 SET @@sync_master_info = 999;
5110 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5111 SET @@session.sync_master_info = 123456;
5112 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5113 SET @@sync_master_info = 123456;
5114 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable and should be set with SET GLOBAL
5115 SELECT @@session.sync_master_info;
5116 ERROR HY000: Variable 'sync_master_info' is a GLOBAL variable
5117 SELECT @@sync_master_info;
5118 @@sync_master_info
5119 10000
5120 Warnings:
5121 Warning 1287 '@@sync_master_info' is deprecated and will be removed in a future release. Please use sync_source_info instead.
5122 include/assert.inc [Variable sync_master_info should exist in performance_schema.session_variables]
5123 #### Clean up ####