![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
System variable derived from sys_var object. More...
#include <pfs_variable.h>
Public Member Functions | |
| System_variable () | |
| CLASS System_variable.  More... | |
| System_variable (THD *target_thd, const SHOW_VAR *show_var, enum_var_type query_scope) | |
| GLOBAL or SESSION system variable.  More... | |
| System_variable (THD *target_thd, const SHOW_VAR *show_var) | |
| GLOBAL and SESSION system 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 | 
| enum_mysql_show_type | m_type | 
| int | m_scope | 
| const CHARSET_INFO * | m_charset | 
| enum_variable_source | m_source | 
| char | m_path_str [SHOW_VAR_FUNC_BUFF_SIZE+1] | 
| size_t | m_path_length | 
| char | m_min_value_str [SHOW_VAR_FUNC_BUFF_SIZE+1] | 
| size_t | m_min_value_length | 
| char | m_max_value_str [SHOW_VAR_FUNC_BUFF_SIZE+1] | 
| size_t | m_max_value_length | 
| ulonglong | m_set_time | 
| char | m_set_user_str [USERNAME_LENGTH] | 
| size_t | m_set_user_str_length | 
| char | m_set_host_str [HOSTNAME_LENGTH] | 
| size_t | m_set_host_str_length | 
Private Member Functions | |
| void | init (THD *thd, const SHOW_VAR *show_var, enum_var_type query_scope) | 
| Get sys_var value from global or local source then convert to string.  More... | |
| void | init (THD *thd, const SHOW_VAR *show_var) | 
| Get sys_var value from global/session and then convert to string.  More... | |
Private Attributes | |
| bool | m_initialized | 
System variable derived from sys_var object.
| System_variable::System_variable | ( | ) | 
CLASS System_variable.
Empty placeholder.
| System_variable::System_variable | ( | THD * | target_thd, | 
| const SHOW_VAR * | show_var, | ||
| enum_var_type | query_scope | ||
| ) | 
GLOBAL or SESSION system variable.
GLOBAL and SESSION system variable.
Get sys_var value from global/session and then convert to string.
      
  | 
  private | 
Get sys_var value from global or local source then convert to string.
      
  | 
  inline | 
| const CHARSET_INFO* System_variable::m_charset | 
      
  | 
  private | 
| size_t System_variable::m_max_value_length | 
| char System_variable::m_max_value_str[SHOW_VAR_FUNC_BUFF_SIZE+1] | 
| size_t System_variable::m_min_value_length | 
| char System_variable::m_min_value_str[SHOW_VAR_FUNC_BUFF_SIZE+1] | 
| const char* System_variable::m_name | 
| size_t System_variable::m_name_length | 
| size_t System_variable::m_path_length | 
| char System_variable::m_path_str[SHOW_VAR_FUNC_BUFF_SIZE+1] | 
| int System_variable::m_scope | 
| char System_variable::m_set_host_str[HOSTNAME_LENGTH] | 
| size_t System_variable::m_set_host_str_length | 
| ulonglong System_variable::m_set_time | 
| char System_variable::m_set_user_str[USERNAME_LENGTH] | 
| size_t System_variable::m_set_user_str_length | 
| enum_variable_source System_variable::m_source | 
| enum_mysql_show_type System_variable::m_type | 
| size_t System_variable::m_value_length | 
| char System_variable::m_value_str[SHOW_VAR_FUNC_BUFF_SIZE+1] |