Debian Codegraph @

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

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