February 2018
Intermediate to advanced
510 pages
16h 10m
English
A plugin can implement status and system variables and in this section we have covered the changes to variables and parameters with appropriate values and data types.
The server plugin interface enables plugins to expose status and system variables using the status_vars and system_vars members of the general plugin descriptor.
status_vars is a member of the general plugin descriptor. If the value is not 0, then it points to an array of the st_mysql_show_var structure where each of them describe one status variable followed by a structure with all the members set to 0. The definition for the st_mysql_show_var structure is as follows:
struct st_mysql_show_var { const char *name; char *value ...
Read now
Unlock full access