Debian Codegraph @

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

raw
1 SET @start_value= @@global.log_queries_not_using_indexes;
2 SET @@global.log_queries_not_using_indexes= DEFAULT;
3 SELECT @@global.log_queries_not_using_indexes;
4 @@global.log_queries_not_using_indexes
5 0
6 SET @@global.log_queries_not_using_indexes= TRUE;
7 SELECT @@global.log_queries_not_using_indexes;
8 @@global.log_queries_not_using_indexes
9 1
10 SET @@global.log_queries_not_using_indexes= true;
11 SELECT @@global.log_queries_not_using_indexes;
12 @@global.log_queries_not_using_indexes
13 1
14 SET @@global.log_queries_not_using_indexes= 0;
15 SELECT @@global.log_queries_not_using_indexes;
16 @@global.log_queries_not_using_indexes
17 0
18 SET @@global.log_queries_not_using_indexes= 1;
19 SELECT @@global.log_queries_not_using_indexes;
20 @@global.log_queries_not_using_indexes
21 1
22 SET @goodvar= TRUE;
23 SET @@global.log_queries_not_using_indexes= @goodvar;
24 SELECT @@global.log_queries_not_using_indexes;
25 @@global.log_queries_not_using_indexes
26 1
27 SET GLOBAL log_queries_not_using_indexes= DEFAULT;
28 SELECT @@global.log_queries_not_using_indexes;
29 @@global.log_queries_not_using_indexes
30 0
31 SET GLOBAL log_queries_not_using_indexes= ON;
32 SELECT @@global.log_queries_not_using_indexes;
33 @@global.log_queries_not_using_indexes
34 1
35 SET GLOBAL log_queries_not_using_indexes= OFF;
36 SELECT @@global.log_queries_not_using_indexes;
37 @@global.log_queries_not_using_indexes
38 0
39 SET GLOBAL log_queries_not_using_indexes= -0;
40 SELECT @@global.log_queries_not_using_indexes;
41 @@global.log_queries_not_using_indexes
42 0
43 SET GLOBAL log_queries_not_using_indexes= 0.00;
44 ERROR 42000: Incorrect argument type to variable 'log_queries_not_using_indexes'
45 SET GLOBAL log_queries_not_using_indexes= +0;
46 SELECT @@global.log_queries_not_using_indexes;
47 @@global.log_queries_not_using_indexes
48 0
49 SET @@global.log_queries_not_using_indexes= 'DEFAULT';
50 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'DEFAULT'
51 SET @@global.log_queries_not_using_indexes= 'true';
52 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'true'
53 SET @@global.log_queries_not_using_indexes= BLABLA;
54 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'BLABLA'
55 SET @@global.log_queries_not_using_indexes= 25;
56 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of '25'
57 SET GLOBAL log_queries_not_using_indexes= -1;
58 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of '-1'
59 SET @badvar= 'true';
60 SET @@global.log_queries_not_using_indexes= @badvar;
61 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'true'
62 SET GLOBAL log_queries_not_using_indexes= 'DEFAULT';
63 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'DEFAULT'
64 SET log_queries_not_using_indexes= TRUE;
65 ERROR HY000: Variable 'log_queries_not_using_indexes' is a GLOBAL variable and should be set with SET GLOBAL
66 SET SESSION log_queries_not_using_indexes= TRUE;
67 ERROR HY000: Variable 'log_queries_not_using_indexes' is a GLOBAL variable and should be set with SET GLOBAL
68 SET @@session.log_queries_not_using_indexes= TRUE;
69 ERROR HY000: Variable 'log_queries_not_using_indexes' is a GLOBAL variable and should be set with SET GLOBAL
70 SET LOCAL log_queries_not_using_indexes= TRUE;
71 ERROR HY000: Variable 'log_queries_not_using_indexes' is a GLOBAL variable and should be set with SET GLOBAL
72 SET @@global log_queries_not_using_indexes= TRUE;
73 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 'log_queries_not_using_indexes= TRUE' at line 1
74 SET @@SESSION log_queries_not_using_indexes= TRUE;
75 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 'log_queries_not_using_indexes= TRUE' at line 1
76 SET @@global.log_queries_not_using_indexes= @start_value;