![]() |
MySQL 8.0.43
Source Code Documentation
|
Service to read the value of a status variable as a string. More...
#include <mysql_status_variable_reader.h>
Public Attributes | |
| mysql_service_status_t(* | get )(THD *thd, const char *name, bool get_global, my_h_string *out_string) |
| Gets the string value of a status variable. More... | |
Service to read the value of a status variable as a string.
Used approximately as follows:
| mysql_service_status_t(* s_mysql_mysql_status_variable_string::get) (THD *thd, const char *name, bool get_global, my_h_string *out_string) |
Gets the string value of a status variable.
Will read the value of the status variable supplied, convert to a string as needed and store into the out_string parameter as a my_h_string.
| thd | The THD to operate on or a nullptr to create a temp THD | |
| name | The name of the status variable to access. US ASCII | |
| get_global | true if the global value of the status variable is required, false if the session one. | |
| [out] | out_string | a place to store the value |
| false | success |
| true | failure |