MySQL 9.1.0
Source Code Documentation
|
Status variable derived from SHOW_VAR
.
More...
#include <pfs_variable.h>
Public Member Functions | |
Status_variable () | |
Status_variable (const SHOW_VAR *show_var, System_status_var *vars, enum_var_type query_scope) | |
CLASS Status_variable. More... | |
bool | is_null () const |
Public Attributes | |
const char * | m_name |
size_t | m_name_length |
char | m_value_str [SHOW_VAR_FUNC_BUFF_SIZE+1] |
size_t | m_value_length |
SHOW_TYPE | m_type |
SHOW_SCOPE | m_scope |
const CHARSET_INFO * | m_charset |
Private Member Functions | |
void | init (const SHOW_VAR *show_var, System_status_var *vars, enum_var_type query_scope) |
Resolve status value, convert to string. More... | |
Private Attributes | |
bool | m_initialized |
Status variable derived from SHOW_VAR
.
|
inline |
Status_variable::Status_variable | ( | const SHOW_VAR * | show_var, |
System_status_var * | vars, | ||
enum_var_type | query_scope | ||
) |
CLASS Status_variable.
|
private |
Resolve status value, convert to string.
show_var->value is an offset into status_vars. NOTE: Assumes LOCK_status is held.
|
inline |
const CHARSET_INFO* Status_variable::m_charset |
|
private |
const char* Status_variable::m_name |
size_t Status_variable::m_name_length |
SHOW_SCOPE Status_variable::m_scope |
SHOW_TYPE Status_variable::m_type |
size_t Status_variable::m_value_length |
char Status_variable::m_value_str[SHOW_VAR_FUNC_BUFF_SIZE+1] |