24#ifndef COMPONENT_SYS_VAR_SERVICE_H 
   25#define COMPONENT_SYS_VAR_SERVICE_H 
   47#define MYSQL_THD THD * 
  107                                          void *val_ptr, 
const void *save);
 
  133#define INTEGRAL_CHECK_ARG(type) \ 
  134  struct type##_check_arg_s {    \ 
  147#define ENUM_CHECK_ARG(type)  \ 
  148  struct type##_check_arg_s { \ 
  149    unsigned long def_val;    \ 
  159#define BOOL_CHECK_ARG(type)  \ 
  160  struct type##_check_arg_s { \ 
  170#define STR_CHECK_ARG(type)   \ 
  171  struct type##_check_arg_s { \ 
  275                    (
const char *component_name, 
const char *
name, 
int flags,
 
  278                     void *variable_value));
 
  320#if defined(__cplusplus) && (__cplusplus >= 201402L) 
  321[[deprecated(
"Use mysql_service_mysql_system_variable_reader->get() instead.")]]
 
  324                                   void **val, 
size_t *out_length_of_val));
 
  340                    (const 
char *component_name, const 
char *
name));
 
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
 
#define MYSQL_THD
Definition: component_sys_var_service.h:47
 
int(* mysql_sys_var_check_func)(MYSQL_THD thd, SYS_VAR *var, void *save, struct st_mysql_value *value)
Signature for the check function.
Definition: component_sys_var_service.h:78
 
void(* mysql_sys_var_update_func)(MYSQL_THD thd, SYS_VAR *var, void *val_ptr, const void *save)
Signature for the update function.
Definition: component_sys_var_service.h:106
 
static int flags[50]
Definition: hp_test1.cc:40
 
static user_var_entry * get_variable(THD *thd, const Name_string &name, const CHARSET_INFO *cs)
Get variable with given name; conditionally create it if non-existing.
Definition: item_func.cc:6093
 
#define comment
Definition: lexyy.cc:959
 
static uint update
Definition: myisamlog.cc:94
 
mysql_service_status_t unregister_variable(SHOW_VAR *) noexcept
Definition: components.cc:59
 
mysql_service_status_t register_variable(SHOW_VAR *) noexcept
Definition: components.cc:55
 
ValueType value(const std::optional< ValueType > &v)
Definition: gtid.h:83
 
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
 
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
 
#define DECLARE_BOOL_METHOD(name, args)
Declares a method that returns bool as a part of the Service definition.
Definition: service.h:112
 
case opt name
Definition: sslopt-case.h:29
 
Definition: system_variables_bits.h:153
 
A utility class for the ENUM variables.
Definition: component_sys_var_service.h:38
 
const char * name
Definition: component_sys_var_service.h:40
 
unsigned int * type_lengths
Definition: component_sys_var_service.h:42
 
size_t count
Definition: component_sys_var_service.h:39
 
const char ** type_names
Definition: component_sys_var_service.h:41
 
Definition: system_variables_bits.h:96