File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed
mysql-test/suite/sys_vars Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -4533,12 +4533,12 @@ READ_ONLY NO
4533
4533
COMMAND_LINE_ARGUMENT REQUIRED
4534
4534
VARIABLE_NAME THREAD_CACHE_SIZE
4535
4535
SESSION_VALUE NULL
4536
- GLOBAL_VALUE 0
4537
- GLOBAL_VALUE_ORIGIN COMPILE-TIME
4538
- DEFAULT_VALUE 0
4536
+ GLOBAL_VALUE 151
4537
+ GLOBAL_VALUE_ORIGIN AUTO
4538
+ DEFAULT_VALUE 256
4539
4539
VARIABLE_SCOPE GLOBAL
4540
4540
VARIABLE_TYPE BIGINT UNSIGNED
4541
- VARIABLE_COMMENT How many threads we should keep in a cache for reuse
4541
+ VARIABLE_COMMENT How many threads we should keep in a cache for reuse. These are freed after 5 minutes of idle time
4542
4542
NUMERIC_MIN_VALUE 0
4543
4543
NUMERIC_MAX_VALUE 16384
4544
4544
NUMERIC_BLOCK_SIZE 1
@@ -4645,9 +4645,9 @@ READ_ONLY NO
4645
4645
COMMAND_LINE_ARGUMENT REQUIRED
4646
4646
VARIABLE_NAME THREAD_STACK
4647
4647
SESSION_VALUE NULL
4648
- GLOBAL_VALUE 295936
4648
+ GLOBAL_VALUE 296960
4649
4649
GLOBAL_VALUE_ORIGIN COMPILE-TIME
4650
- DEFAULT_VALUE 295936
4650
+ DEFAULT_VALUE 296960
4651
4651
VARIABLE_SCOPE GLOBAL
4652
4652
VARIABLE_TYPE BIGINT UNSIGNED
4653
4653
VARIABLE_COMMENT The stack size for each thread
Original file line number Diff line number Diff line change 1
1
select @@global.thread_stack;
2
2
@@global.thread_stack
3
- 295936
3
+ 296960
4
4
select @@session.thread_stack;
5
5
ERROR HY000: Variable 'thread_stack' is a GLOBAL variable
6
6
show global variables like 'thread_stack';
7
7
Variable_name Value
8
- thread_stack 295936
8
+ thread_stack 296960
9
9
show session variables like 'thread_stack';
10
10
Variable_name Value
11
- thread_stack 295936
11
+ thread_stack 296960
12
12
select * from information_schema.global_variables where variable_name='thread_stack';
13
13
VARIABLE_NAME VARIABLE_VALUE
14
- THREAD_STACK 295936
14
+ THREAD_STACK 296960
15
15
select * from information_schema.session_variables where variable_name='thread_stack';
16
16
VARIABLE_NAME VARIABLE_VALUE
17
- THREAD_STACK 295936
17
+ THREAD_STACK 296960
18
18
set global thread_stack=1;
19
19
ERROR HY000: Variable 'thread_stack' is a read only variable
20
20
set session thread_stack=1;
Original file line number Diff line number Diff line change
1
+ --thread_cache_size=0
You can’t perform that action at this time.
0 commit comments