Debian Codegraph @

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

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