MySQL 8.4.2
Source Code Documentation
|
Service to register variable and unregister variable. More...
#include <component_status_var_service.h>
Public Attributes | |
mysql_service_status_t(* | register_variable )(SHOW_VAR *status_var) |
Register status variable. More... | |
mysql_service_status_t(* | unregister_variable )(SHOW_VAR *status_var) |
Unregister's status variable. More... | |
Service to register variable and unregister variable.
mysql_service_status_t(* s_mysql_status_variable_registration::register_variable) (SHOW_VAR *status_var) |
Register status variable.
status_var | fully constructed status variable object. |
false | success |
true | failure |
Note: Please see the components/test/test_status_var_service.cc file, to know how to construct status variables for different variable types.
mysql_service_status_t(* s_mysql_status_variable_registration::unregister_variable) (SHOW_VAR *status_var) |
Unregister's status variable.
status_var | SHOW_VAR object with only the name of the variable, which has to be removed from the global list. |
false | success |
true | failure |