24#ifndef COMPONENTS_SERVICES_BITS_SYSTEM_VARIABLES_BITS_H 
   25#define COMPONENTS_SERVICES_BITS_SYSTEM_VARIABLES_BITS_H 
   40#define PLUGIN_VAR_BOOL 0x0001 
   42#define PLUGIN_VAR_INT 0x0002 
   44#define PLUGIN_VAR_LONG 0x0003 
   46#define PLUGIN_VAR_LONGLONG 0x0004 
   48#define PLUGIN_VAR_STR 0x0005 
   50#define PLUGIN_VAR_ENUM 0x0006 
   52#define PLUGIN_VAR_SET 0x0007 
   54#define PLUGIN_VAR_DOUBLE 0x0008 
   65#define PLUGIN_VAR_UNSIGNED 0x0080   
   66#define PLUGIN_VAR_THDLOCAL 0x0100   
   67#define PLUGIN_VAR_READONLY 0x0200   
   68#define PLUGIN_VAR_NOSYSVAR 0x0400   
   69#define PLUGIN_VAR_NOCMDOPT 0x0800   
   70#define PLUGIN_VAR_NOCMDARG 0x1000   
   71#define PLUGIN_VAR_RQCMDARG 0x0000   
   72#define PLUGIN_VAR_OPCMDARG 0x2000   
   73#define PLUGIN_VAR_NODEFAULT 0x4000  
   74#define PLUGIN_VAR_MEMALLOC 0x8000   
   75#define PLUGIN_VAR_NOPERSIST \ 
   77#define PLUGIN_VAR_PERSIST_AS_READ_ONLY 0x20000 
   78#define PLUGIN_VAR_INVISIBLE 0x40000  
   79#define PLUGIN_VAR_SENSITIVE 0x80000  
   92#define MYSQL_VALUE_TYPE_STRING 0 
   93#define MYSQL_VALUE_TYPE_REAL 1 
   94#define MYSQL_VALUE_TYPE_INT 2 
  143                                      void *var_ptr, 
const void *save);
 
  145#define MYSQL_PLUGIN_VAR_HEADER \ 
  148  const char *comment;          \ 
  149  mysql_var_check_func check;   \ 
  150  mysql_var_update_func update 
#define MYSQL_THD
Definition: backup_page_tracker.h:38
 
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
 
ValueType value(const std::optional< ValueType > &v)
Definition: gtid.h:83
 
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
 
Definition: system_variables_bits.h:153
 
MYSQL_PLUGIN_VAR_HEADER
Definition: system_variables_bits.h:154
 
Definition: system_variables_bits.h:96
 
int(* val_int)(struct st_mysql_value *, long long *intbuf)
Definition: system_variables_bits.h:100
 
int(* val_real)(struct st_mysql_value *, double *realbuf)
Definition: system_variables_bits.h:99
 
int(* is_unsigned)(struct st_mysql_value *)
Definition: system_variables_bits.h:101
 
int(* value_type)(struct st_mysql_value *)
Definition: system_variables_bits.h:97
 
int(* mysql_var_check_func)(MYSQL_THD thd, SYS_VAR *var, void *save, struct st_mysql_value *value)
Definition: system_variables_bits.h:125
 
void(* mysql_var_update_func)(MYSQL_THD thd, SYS_VAR *var, void *var_ptr, const void *save)
Definition: system_variables_bits.h:142