Debian Codegraph @

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

raw
1 SET @start_global_value = @@global.sql_select_limit;
2 SELECT @start_global_value;
3 @start_global_value
4 18446744073709551615
5 select @@global.sql_select_limit;
6 @@global.sql_select_limit
7 18446744073709551615
8 select @@session.sql_select_limit;
9 @@session.sql_select_limit
10 18446744073709551615
11 show global variables like 'sql_select_limit';
12 Variable_name Value
13 sql_select_limit 18446744073709551615
14 show session variables like 'sql_select_limit';
15 Variable_name Value
16 sql_select_limit 18446744073709551615
17 select * from performance_schema.global_variables where variable_name='sql_select_limit';
18 VARIABLE_NAME VARIABLE_VALUE
19 sql_select_limit 18446744073709551615
20 select * from performance_schema.session_variables where variable_name='sql_select_limit';
21 VARIABLE_NAME VARIABLE_VALUE
22 sql_select_limit 18446744073709551615
23 set global sql_select_limit=10;
24 set session sql_select_limit=20;
25 select @@global.sql_select_limit;
26 @@global.sql_select_limit
27 10
28 select @@session.sql_select_limit;
29 @@session.sql_select_limit
30 20
31 show global variables like 'sql_select_limit';
32 Variable_name Value
33 sql_select_limit 10
34 show session variables like 'sql_select_limit';
35 Variable_name Value
36 sql_select_limit 20
37 select * from performance_schema.global_variables where variable_name='sql_select_limit';
38 VARIABLE_NAME VARIABLE_VALUE
39 sql_select_limit 10
40 select * from performance_schema.session_variables where variable_name='sql_select_limit';
41 VARIABLE_NAME VARIABLE_VALUE
42 sql_select_limit 20
43 set global sql_select_limit=1.1;
44 ERROR 42000: Incorrect argument type to variable 'sql_select_limit'
45 set global sql_select_limit=1e1;
46 ERROR 42000: Incorrect argument type to variable 'sql_select_limit'
47 set global sql_select_limit="foo";
48 ERROR 42000: Incorrect argument type to variable 'sql_select_limit'
49 SET @@global.sql_select_limit = @start_global_value;
50 SELECT @@global.sql_select_limit;
51 @@global.sql_select_limit
52 18446744073709551615