Debian Codegraph @

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

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