Bug #40916 Defining system variables in handler plugin not documented
Submitted: 21 Nov 2008 9:45 Modified: 20 Aug 2009 11:41
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.1, 6.0 bzr OS:Any
Assigned to: MC Brown CPU Architecture:Any

[21 Nov 2008 9:45] Magnus Blåudd
The page http://dev.mysql.com/doc/refman/6.0/en/plugin-api-general.html describes the plugin interface MySQL Server uses. On field in the struct is in the documentation name "field1" and descibed as reserved for the future. But in the code it is already used for storing system variables (see ha_ndbcluster.cc or ha_falcon.cpp).

Someone must have forgotten to tell about how this field is supposed to be used.

How to repeat:

Suggested fix:
Describe new functionality
[21 Nov 2008 10:21] Sveta Smirnova
Thank you for the report.

Verified reading plugin.h
[20 Aug 2009 11:41] MC Brown
The documentation has been updated with the new definition, the status variable structure, and the macros available for defining these values.