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:
@ -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;
|
||||
|
Reference in New Issue
Block a user