MySQL  8.0.15
Source Code Documentation
s_mysql_status_variable_registration Struct Reference

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...
 

Detailed Description

Service to register variable and unregister variable.

Member Data Documentation

◆ register_variable

mysql_service_status_t(* s_mysql_status_variable_registration::register_variable) (SHOW_VAR *status_var)

Register status variable.

Parameters
status_varfully constructed status variable object.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

Note: Please see the components/test/test_status_var_service.cc file, to know how to construct status varables for different variable types.

◆ unregister_variable

mysql_service_status_t(* s_mysql_status_variable_registration::unregister_variable) (SHOW_VAR *status_var)

Unregister's status variable.

Parameters
status_varSHOW_VAR object with only the name of the variable, which has to be removed from the global list.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

The documentation for this struct was generated from the following file: