Bug #57338 Extreneous server variable thread_pool_size
Submitted: 8 Oct 2010 9:18 Modified: 16 Nov 2010 3:49
Reporter: Mats Kindahl Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Options Severity:S2 (Serious)
Version:5.5 OS:Any
Assigned to: Mats Kindahl CPU Architecture:Any

[8 Oct 2010 9:18] Mats Kindahl
The server variable thread_pool_size (and corresponding option --thread-pool-size) exists as a system variable but us not used anywhere.

How to repeat:
Read sys_vars.cc and see the variable definition.

Run mysqld --help --verbose to see the option.

Grep the code to see that it only exists in sys_vars.cc.

Suggested fix:
Remove the system variable definition from sys_vars.cc
[8 Oct 2010 12:22] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


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.
[20 Oct 2010 1:53] Paul Dubois
Noted in 5.5.7 changelog.

The unused and undocumented thread_pool_size system variable was
[9 Nov 2010 19:48] Bugs System
Pushed into mysql-5.5 5.5.7-rc (revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (version source revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (merge vers: 5.5.7-rc) (pib:21)
[13 Nov 2010 16:26] Bugs System
Pushed into mysql-trunk 5.6.99-m5 (revid:alexander.nozdrin@oracle.com-20101113155825-czmva9kg4n31anmu) (version source revid:alexander.nozdrin@oracle.com-20101113152450-2zzcm50e7i4j35v7) (merge vers: 5.6.1-m4) (pib:21)
[13 Nov 2010 16:41] Bugs System
Pushed into mysql-next-mr (revid:alexander.nozdrin@oracle.com-20101113160336-atmtmfb3mzm4pz4i) (version source revid:vasil.dimov@oracle.com-20100629074804-359l9m9gniauxr94) (pib:21)