Debian Codegraph @

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

raw
1 SET @start_global_value = @@global.thread_pool_oversubscribe;
2 select @@global.thread_pool_oversubscribe;
3 @@global.thread_pool_oversubscribe
4 3
5 select @@session.thread_pool_oversubscribe;
6 ERROR HY000: Variable 'thread_pool_oversubscribe' is a GLOBAL variable
7 show global variables like 'thread_pool_oversubscribe';
8 Variable_name Value
9 thread_pool_oversubscribe 3
10 show session variables like 'thread_pool_oversubscribe';
11 Variable_name Value
12 thread_pool_oversubscribe 3
13 select * from information_schema.global_variables where variable_name='thread_pool_oversubscribe';
14 VARIABLE_NAME VARIABLE_VALUE
15 THREAD_POOL_OVERSUBSCRIBE 3
16 select * from information_schema.session_variables where variable_name='thread_pool_oversubscribe';
17 VARIABLE_NAME VARIABLE_VALUE
18 THREAD_POOL_OVERSUBSCRIBE 3
19 set global thread_pool_oversubscribe=60;
20 select @@global.thread_pool_oversubscribe;
21 @@global.thread_pool_oversubscribe
22 60
23 set global thread_pool_oversubscribe=1000;
24 select @@global.thread_pool_oversubscribe;
25 @@global.thread_pool_oversubscribe
26 1000
27 set session thread_pool_oversubscribe=1;
28 ERROR HY000: Variable 'thread_pool_oversubscribe' is a GLOBAL variable and should be set with SET GLOBAL
29 set global thread_pool_oversubscribe=1.1;
30 ERROR 42000: Incorrect argument type to variable 'thread_pool_oversubscribe'
31 set global thread_pool_oversubscribe=1e1;
32 ERROR 42000: Incorrect argument type to variable 'thread_pool_oversubscribe'
33 set global thread_pool_oversubscribe="foo";
34 ERROR 42000: Incorrect argument type to variable 'thread_pool_oversubscribe'
35 set global thread_pool_oversubscribe=-1;
36 Warnings:
37 Warning 1292 Truncated incorrect thread_pool_oversubscribe value: '-1'
38 select @@global.thread_pool_oversubscribe;
39 @@global.thread_pool_oversubscribe
40 1
41 set global thread_pool_oversubscribe=10000000000;
42 Warnings:
43 Warning 1292 Truncated incorrect thread_pool_oversubscribe value: '10000000000'
44 select @@global.thread_pool_oversubscribe;
45 @@global.thread_pool_oversubscribe
46 1000
47 set @@global.thread_pool_oversubscribe = @start_global_value;