Bug #18314 NdbMgmHandle cannot be used in multiple threads
Submitted: 17 Mar 2006 17:13 Modified: 24 Apr 2006 14:34
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:
Assigned to: Jon Stephens CPU Architecture:Any

[17 Mar 2006 17:13] Stewart Smith
Description:
Documentation is not clear that NdbMgmHandle structures should not be shared between threads.

How to repeat:
watch your mgmapi program explode when you use the same NdbMgmHandle between threads without locking.

Suggested fix:
add to mgmapi docs "NdbMgmHandle objects cannot be shared between threads. You can implement your own locks around it if you want"
[24 Apr 2006 14:34] Jon Stephens
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
product(s).

Additional info:

Added note to MGM API section of NDB API doc. Closed.