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 @filter_start_value= @@global.log_slow_filter;
3 SET @@global.log_queries_not_using_indexes= TRUE;
4 SET @@session.log_queries_not_using_indexes= TRUE;
5 SET @@global.log_queries_not_using_indexes= FALSE;
6 SET @@session.log_queries_not_using_indexes= FALSE;
7 SET @@global.log_queries_not_using_indexes= DEFAULT;
8 SELECT @@global.log_queries_not_using_indexes;
9 @@global.log_queries_not_using_indexes
10 0
11 SET @@global.log_queries_not_using_indexes= TRUE;
12 SELECT @@global.log_queries_not_using_indexes;
13 @@global.log_queries_not_using_indexes
14 1
15 SET @@global.log_queries_not_using_indexes= true;
16 SELECT @@global.log_queries_not_using_indexes;
17 @@global.log_queries_not_using_indexes
18 1
19 SET @@global.log_queries_not_using_indexes= 0;
20 SELECT @@global.log_queries_not_using_indexes;
21 @@global.log_queries_not_using_indexes
22 0
23 SET @@global.log_queries_not_using_indexes= 1;
24 SELECT @@global.log_queries_not_using_indexes;
25 @@global.log_queries_not_using_indexes
26 1
27 SET @goodvar= TRUE;
28 SET @@global.log_queries_not_using_indexes= @goodvar;
29 SELECT @@global.log_queries_not_using_indexes;
30 @@global.log_queries_not_using_indexes
31 1
32 SET GLOBAL log_queries_not_using_indexes= DEFAULT;
33 SELECT @@global.log_queries_not_using_indexes;
34 @@global.log_queries_not_using_indexes
35 0
36 SET GLOBAL log_queries_not_using_indexes= ON;
37 SELECT @@global.log_queries_not_using_indexes;
38 @@global.log_queries_not_using_indexes
39 1
40 SET GLOBAL log_queries_not_using_indexes= OFF;
41 SELECT @@global.log_queries_not_using_indexes;
42 @@global.log_queries_not_using_indexes
43 0
44 SET GLOBAL log_queries_not_using_indexes= -0;
45 SELECT @@global.log_queries_not_using_indexes;
46 @@global.log_queries_not_using_indexes
47 0
48 SET GLOBAL log_queries_not_using_indexes= 0.00;
49 ERROR 42000: Incorrect argument type to variable 'log_queries_not_using_indexes'
50 SET GLOBAL log_queries_not_using_indexes= +0;
51 SELECT @@global.log_queries_not_using_indexes;
52 @@global.log_queries_not_using_indexes
53 0
54 SET @@global.log_queries_not_using_indexes= 'DEFAULT';
55 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'DEFAULT'
56 SET @@global.log_queries_not_using_indexes= 'true';
57 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'true'
58 SET @@global.log_queries_not_using_indexes= BLABLA;
59 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'BLABLA'
60 SET @@global.log_queries_not_using_indexes= 25;
61 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of '25'
62 SET GLOBAL log_queries_not_using_indexes= -1;
63 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of '-1'
64 SET @badvar= 'true';
65 SET @@global.log_queries_not_using_indexes= @badvar;
66 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'true'
67 SET GLOBAL log_queries_not_using_indexes= 'DEFAULT';
68 ERROR 42000: Variable 'log_queries_not_using_indexes' can't be set to the value of 'DEFAULT'
69 SET @@global log_queries_not_using_indexes= TRUE;
70 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'log_queries_not_using_indexes= TRUE' at line 1
71 SET @@SESSION log_queries_not_using_indexes= TRUE;
72 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'log_queries_not_using_indexes= TRUE' at line 1
73 SET @@SESSION.log_queries_not_using_indexes= TRUE;
74 select @@SESSION.log_slow_filter;
75 @@SESSION.log_slow_filter
76 admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
77 SET @@SESSION.log_queries_not_using_indexes= FALSE;
78 select @@SESSION.log_slow_filter;
79 @@SESSION.log_slow_filter
80 admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
81 SET @@GLOBAL.log_queries_not_using_indexes= TRUE;
82 select @@GLOBAL.log_slow_filter;
83 @@GLOBAL.log_slow_filter
84 admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
85 SET @@GLOBAL.log_queries_not_using_indexes= FALSE;
86 select @@GLOBAL.log_slow_filter;
87 @@GLOBAL.log_slow_filter
88 admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
89 SET @@SESSION.log_slow_filter="";
90 select @@SESSION.log_queries_not_using_indexes;
91 @@SESSION.log_queries_not_using_indexes
92 0
93 SET @@SESSION.log_slow_filter="not_using_index";
94 select @@SESSION.log_queries_not_using_indexes;
95 @@SESSION.log_queries_not_using_indexes
96 1
97 SET @@GLOBAL.log_slow_filter="";
98 select @@GLOBAL.log_queries_not_using_indexes;
99 @@GLOBAL.log_queries_not_using_indexes
100 0
101 SET @@GLOBAL.log_slow_filter="not_using_index";
102 select @@GLOBAL.log_queries_not_using_indexes;
103 @@GLOBAL.log_queries_not_using_indexes
104 1
105 SET @@global.log_queries_not_using_indexes= @start_value;
106 SET @@global.log_slow_filter= @filter_start_value;