MySQL 8.0.39
Source Code Documentation
|
An implementation of the component status variables Service to register variable and unregister variable. More...
#include <component_status_var_service_imp.h>
Static Public Member Functions | |
static mysql_service_status_t | register_variable (SHOW_VAR *status_var) noexcept |
Register status variable. More... | |
static mysql_service_status_t | unregister_variable (SHOW_VAR *status_var) noexcept |
Unregister's status variable. More... | |
An implementation of the component status variables Service to register variable and unregister variable.
|
staticnoexcept |
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.
|
staticnoexcept |
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 |