MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:October 8 2010 12:22pm
Subject:bzr commit into mysql-5.5-bugteam branch (mats.kindahl:3222) Bug#57338
View as plain text  
#At file:///home/bzr/bugs/b57338-5.5-bugteam/ based on revid:svoj@stripped

 3222 Mats Kindahl	2010-10-08
      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.

    modified:
      sql/sys_vars.cc
=== modified file 'sql/sys_vars.cc'
--- a/sql/sys_vars.cc	2010-10-07 15:38:23 +0000
+++ b/sql/sys_vars.cc	2010-10-08 12:22:22 +0000
@@ -2014,15 +2014,6 @@ static Sys_var_ulong Sys_thread_cache_si
        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.


Attachment: [text/bzr-bundle] bzr/mats.kindahl@oracle.com-20101008122222-nhj3ttkjrxa1cs9r.bundle
Thread
bzr commit into mysql-5.5-bugteam branch (mats.kindahl:3222) Bug#57338Mats Kindahl8 Oct