Debian Codegraph @

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

raw
1 SET @start_value = @@global.concurrent_insert;
2 SELECT @start_value;
3 @start_value
4 AUTO
5 '#--------------------FN_DYNVARS_018_01------------------------#'
6 SET @@global.concurrent_insert = 0;
7 SET @@global.concurrent_insert = DEFAULT;
8 SELECT @@global.concurrent_insert;
9 @@global.concurrent_insert
10 AUTO
11 '#---------------------FN_DYNVARS_018_02-------------------------#'
12 SET @@global.concurrent_insert = DEFAULT;
13 SELECT @@global.concurrent_insert = 1;
14 @@global.concurrent_insert = 1
15 0
16 Warnings:
17 Warning 1292 Truncated incorrect DOUBLE value: 'AUTO'
18 '#--------------------FN_DYNVARS_018_03------------------------#'
19 SET @@global.concurrent_insert = 0;
20 SELECT @@global.concurrent_insert;
21 @@global.concurrent_insert
22 NEVER
23 SET @@global.concurrent_insert = 1;
24 SELECT @@global.concurrent_insert;
25 @@global.concurrent_insert
26 AUTO
27 SET @@global.concurrent_insert = 2;
28 SELECT @@global.concurrent_insert;
29 @@global.concurrent_insert
30 ALWAYS
31 SET @@global.concurrent_insert = NEVER;
32 SELECT @@global.concurrent_insert;
33 @@global.concurrent_insert
34 NEVER
35 SET @@global.concurrent_insert = AUTO;
36 SELECT @@global.concurrent_insert;
37 @@global.concurrent_insert
38 AUTO
39 SET @@global.concurrent_insert = ALWAYS;
40 SELECT @@global.concurrent_insert;
41 @@global.concurrent_insert
42 ALWAYS
43 '#--------------------FN_DYNVARS_018_04-------------------------#'
44 SET @@global.concurrent_insert = -1;
45 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of '-1'
46 SET @@global.concurrent_insert = 100;
47 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of '100'
48 SET @@global.concurrent_insert = TRUEF;
49 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'TRUEF'
50 SET @@global.concurrent_insert = TRUE_F;
51 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'TRUE_F'
52 SET @@global.concurrent_insert = FALSE0;
53 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'FALSE0'
54 SET @@global.concurrent_insert = OON;
55 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'OON'
56 SET @@global.concurrent_insert = ONN;
57 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'ONN'
58 SET @@global.concurrent_insert = OOFF;
59 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'OOFF'
60 SET @@global.concurrent_insert = 0FF;
61 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of '0FF'
62 SET @@global.concurrent_insert = ' ';
63 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of ' '
64 SET @@global.concurrent_insert = " ";
65 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of ' '
66 SET @@global.concurrent_insert = '';
67 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of ''
68 '#-------------------FN_DYNVARS_018_05----------------------------#'
69 SET @@session.concurrent_insert = 1;
70 ERROR HY000: Variable 'concurrent_insert' is a GLOBAL variable and should be set with SET GLOBAL
71 SELECT @@session.concurrent_insert = 1;
72 ERROR HY000: Variable 'concurrent_insert' is a GLOBAL variable
73 '#----------------------FN_DYNVARS_018_06------------------------#'
74 SELECT @@global.concurrent_insert = VARIABLE_VALUE
75 FROM performance_schema.global_variables
76 WHERE VARIABLE_NAME='concurrent_insert';
77 @@global.concurrent_insert = VARIABLE_VALUE
78 1
79 '#---------------------FN_DYNVARS_018_07----------------------#'
80 SET @@global.concurrent_insert = OFF;
81 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'OFF'
82 SET @@global.concurrent_insert = ON;
83 ERROR 42000: Variable 'concurrent_insert' can't be set to the value of 'ON'
84 '#---------------------FN_DYNVARS_018_08----------------------#'
85 SET @@global.concurrent_insert = TRUE;
86 SELECT @@global.concurrent_insert;
87 @@global.concurrent_insert
88 AUTO
89 SET @@global.concurrent_insert = FALSE;
90 SELECT @@global.concurrent_insert;
91 @@global.concurrent_insert
92 NEVER
93 '#---------------------FN_DYNVARS_018_09----------------------#'
94 SET @@global.concurrent_insert = 1;
95 SELECT @@concurrent_insert = @@global.concurrent_insert;
96 @@concurrent_insert = @@global.concurrent_insert
97 1
98 '#---------------------FN_DYNVARS_018_10----------------------#'
99 SET concurrent_insert = 1;
100 ERROR HY000: Variable 'concurrent_insert' is a GLOBAL variable and should be set with SET GLOBAL
101 SELECT @@concurrent_insert;
102 @@concurrent_insert
103 AUTO
104 SET global.concurrent_insert = 1;
105 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'global.concurrent_insert = 1' at line 1
106 SELECT global.concurrent_insert;
107 ERROR 42S02: Unknown table 'global' in field list
108 SELECT concurrent_insert;
109 ERROR 42S22: Unknown column 'concurrent_insert' in 'field list'
110 SELECT @@session.concurrent_insert;
111 ERROR HY000: Variable 'concurrent_insert' is a GLOBAL variable
112 SET @@global.concurrent_insert = @start_value;
113 SELECT @@global.concurrent_insert;
114 @@global.concurrent_insert
115 AUTO