1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed failures from changing values of thread_stack and thread_cache_size

Added --thread_cache_size=0 to slow_launch_time_func.test as otherwise
the new thread would start too fast to be counted as a slow_launch_thread.
This commit is contained in:
Monty
2016-03-23 14:36:59 +02:00
parent 0a83caf4a9
commit 02d75ae1fd
3 changed files with 12 additions and 11 deletions

View File

@ -1,20 +1,20 @@
select @@global.thread_stack;
@@global.thread_stack
295936
296960
select @@session.thread_stack;
ERROR HY000: Variable 'thread_stack' is a GLOBAL variable
show global variables like 'thread_stack';
Variable_name Value
thread_stack 295936
thread_stack 296960
show session variables like 'thread_stack';
Variable_name Value
thread_stack 295936
thread_stack 296960
select * from information_schema.global_variables where variable_name='thread_stack';
VARIABLE_NAME VARIABLE_VALUE
THREAD_STACK 295936
THREAD_STACK 296960
select * from information_schema.session_variables where variable_name='thread_stack';
VARIABLE_NAME VARIABLE_VALUE
THREAD_STACK 295936
THREAD_STACK 296960
set global thread_stack=1;
ERROR HY000: Variable 'thread_stack' is a read only variable
set session thread_stack=1;