Bug #44211 ./mysqld option --thread_handling comments do not mention pool-of-thread
Submitted: 11 Apr 2009 2:52 Modified: 17 Aug 2011 13:55
Reporter: Marc ALFF Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Options Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: CPU Architecture:Any

[11 Apr 2009 2:52] Marc ALFF
In ./mysqld --verbose --help,

--thread_handling only documents 2 options, even when the server is compiled
with pool of threads :

(begin quote)
  Define threads usage for handling queries:
  one-thread-per-connection or no-threads
(end quote)

A third option exists but is not described.

How to repeat:
See the code in mysqld.cc

Supported options:

static const char *thread_handling_names[]=
{ "one-thread-per-connection", "no-threads",

Documented options:

  {"thread_handling", OPT_THREAD_HANDLING,
   "Define threads usage for handling queries:  "
   "one-thread-per-connection or no-threads", 0, 0,
   0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
[13 Apr 2009 6:06] Sveta Smirnova
Thank you for the report.

Verified as described.

Also there is no way to say configure to compile MySQL with pool-of-threads support.
[17 Aug 2011 13:56] Jon Stephens
Fixed in 5.5.13.