MySQL 8.0.40
Source Code Documentation
component_sys_var_service.cc File Reference

Macros

#define FREE_RECORD(sysvar)
 

Functions

void comp_sys_var_init_psi_keys (void)
 
void mysql_comp_sys_var_services_init ()
 
int mysql_add_sysvar (sys_var *var)
 
const char * get_variable_value (sys_var *system_var, char *val_buf, size_t *val_length)
 

Variables

PSI_memory_key key_memory_comp_sys_var
 
static PSI_memory_info comp_sys_var_memory []
 

Macro Definition Documentation

◆ FREE_RECORD

#define FREE_RECORD (   sysvar)
Value:
my_free(const_cast<char *>( \
reinterpret_cast<sys_var_pluginvar *>(sysvar)->plugin_var->name)); \
my_free(reinterpret_cast<sys_var_pluginvar *>(sysvar)->plugin_var); \
delete reinterpret_cast<sys_var_pluginvar *>(sysvar);
Definition: sql_plugin_var.h:196
LEX_CSTRING name
Definition: set_var.h:108
void my_free(void *ptr)
Frees the memory pointed by the ptr.
Definition: my_memory.cc:81

Function Documentation

◆ comp_sys_var_init_psi_keys()

void comp_sys_var_init_psi_keys ( void  )

◆ get_variable_value()

const char * get_variable_value ( sys_var system_var,
char *  val_buf,
size_t *  val_length 
)

◆ mysql_add_sysvar()

int mysql_add_sysvar ( sys_var var)

◆ mysql_comp_sys_var_services_init()

void mysql_comp_sys_var_services_init ( )

Variable Documentation

◆ comp_sys_var_memory

PSI_memory_info comp_sys_var_memory[]
static
Initial value:
"component_system_variables",
#define PSI_DOCUMENT_ME
Definition: component_common.h:29
PSI_memory_key key_memory_comp_sys_var
Definition: component_sys_var_service.cc:77

◆ key_memory_comp_sys_var

PSI_memory_key key_memory_comp_sys_var