Bug #45982 thread_handling documentation poor
Submitted: 6 Jul 2009 20:33 Modified: 14 Jul 2009 16:29
Reporter: Sheeri Cabral (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Paul DuBois CPU Architecture:Any
Tags: qc

[6 Jul 2009 20:33] Sheeri Cabral
At <A HREF=http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_thread_handling>http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_thread_handling...> the valid values given are "no-threads" and "one-thread-per-connection".

The description mentions "one-thread", but not "no-threads".  However, "one-thread" doesn't appear in the list of valid values.

How to repeat:
Go to the web page above.

Note the following:

Version Introduced 	5.1.17
Command Line Format 	--thread_handling=name
Config File Format 	thread_handling
Option Sets Variable 	Yes, thread_handling
Variable Name 	thread_handling
Variable Scope 	Global
Dynamic Variable 	No
Value Set 	
Type 	enumeration
Valid Values 	no-threads, one-thread-per-connection

The thread-handling model. The allowable values are one-thread (the server uses one thread) and one-thread-per-connection (the server uses one thread to handle each client connection). one-thread is useful for debugging under Linux; see MySQL Internals: Porting. This variable was added in MySQL 5.1.17 

Suggested fix:
Valid values should be in the list and described....
[7 Jul 2009 4:11] Valeriy Kravchuk
Thank you for the documentation request.
[14 Jul 2009 16:29] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

one-thread in the description is incorrect, it should be no-threads.