Debian Codegraph @

mysql-test/suite/sys_vars/t/thread_stack_basic.test

raw
1 #
2 # only global
3 #
4 --source include/not_asan.inc
5 --source include/not_ubsan.inc
6 --source include/not_msan.inc
7 --replace_result 392192 299008
8 select @@global.thread_stack;
9 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
10 select @@session.thread_stack;
11 --replace_result 392192 299008
12 show global variables like 'thread_stack';
13 --replace_result 392192 299008
14 show session variables like 'thread_stack';
15 --replace_result 392192 299008
16 select * from information_schema.global_variables where variable_name='thread_stack';
17 --replace_result 392192 299008
18 select * from information_schema.session_variables where variable_name='thread_stack';
19
20 #
21 # show that it's read-only
22 #
23 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
24 set global thread_stack=1;
25 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
26 set session thread_stack=1;