Debian Codegraph @

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

raw
1 SET @start_global_value = @@global.deadlock_search_depth_short;
2 select @@global.deadlock_search_depth_short;
3 @@global.deadlock_search_depth_short
4 4
5 select @@session.deadlock_search_depth_short;
6 @@session.deadlock_search_depth_short
7 4
8 show global variables like 'deadlock_search_depth_short';
9 Variable_name Value
10 deadlock_search_depth_short 4
11 show session variables like 'deadlock_search_depth_short';
12 Variable_name Value
13 deadlock_search_depth_short 4
14 select * from information_schema.global_variables where variable_name='deadlock_search_depth_short';
15 VARIABLE_NAME VARIABLE_VALUE
16 DEADLOCK_SEARCH_DEPTH_SHORT 4
17 select * from information_schema.session_variables where variable_name='deadlock_search_depth_short';
18 VARIABLE_NAME VARIABLE_VALUE
19 DEADLOCK_SEARCH_DEPTH_SHORT 4
20 set global deadlock_search_depth_short=10;
21 select @@global.deadlock_search_depth_short;
22 @@global.deadlock_search_depth_short
23 10
24 set session deadlock_search_depth_short=10;
25 select @@session.deadlock_search_depth_short;
26 @@session.deadlock_search_depth_short
27 10
28 set global deadlock_search_depth_short=1.1;
29 ERROR 42000: Incorrect argument type to variable 'deadlock_search_depth_short'
30 set session deadlock_search_depth_short=1e1;
31 ERROR 42000: Incorrect argument type to variable 'deadlock_search_depth_short'
32 set global deadlock_search_depth_short="foo";
33 ERROR 42000: Incorrect argument type to variable 'deadlock_search_depth_short'
34 set global deadlock_search_depth_short=0;
35 select @@global.deadlock_search_depth_short;
36 @@global.deadlock_search_depth_short
37 0
38 set session deadlock_search_depth_short=cast(-1 as unsigned int);
39 Warnings:
40 Note 1105 Cast to unsigned converted negative integer to it's positive complement
41 Warning 1292 Truncated incorrect deadlock_search_depth_short value: '18446744073709551615'
42 select @@session.deadlock_search_depth_short;
43 @@session.deadlock_search_depth_short
44 32
45 SET @@global.deadlock_search_depth_short = @start_global_value;