diff options
author | Mats Kindahl <mats.kindahl@oracle.com> | 2010-10-08 14:22:22 +0200 |
---|---|---|
committer | Mats Kindahl <mats.kindahl@oracle.com> | 2010-10-08 14:22:22 +0200 |
commit | 5d014b83198caa59344433b9b9188042e8427b8f (patch) | |
tree | ba6a7dc4f08a821b2a4bee1f6d4da9e7ff840b49 /sql/sys_vars.cc | |
parent | b2ccb7d0fe31798779f58fcd77436b9cc293d063 (diff) | |
download | mariadb-git-5d014b83198caa59344433b9b9188042e8427b8f.tar.gz |
Bug #57338: Extreneous server variable thread_pool_size
The server contained code for the server variable and
option thread_pool_size, but this server variable where
not used anywhere.
The variable is probably remains from backporting too
much from 6.0 (specifically, the thread pool
implementation was not backported from 6.0, which this
variable is associated with).
This patch eliminates the variable from the server.
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r-- | sql/sys_vars.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index b8b73bc0387..5c9df82ddac 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -2014,15 +2014,6 @@ static Sys_var_ulong Sys_thread_cache_size( GLOBAL_VAR(thread_cache_size), CMD_LINE(REQUIRED_ARG), VALID_RANGE(0, 16384), DEFAULT(0), BLOCK_SIZE(1)); -#if HAVE_POOL_OF_THREADS == 1 -static Sys_var_ulong Sys_thread_pool_size( - "thread_pool_size", - "How many threads we should create to handle query requests in " - "case of 'thread_handling=pool-of-threads'", - GLOBAL_VAR(thread_pool_size), CMD_LINE(REQUIRED_ARG), - VALID_RANGE(1, 16384), DEFAULT(20), BLOCK_SIZE(0)); -#endif - /** Can't change the 'next' tx_isolation if we are already in a transaction. |