My Project
|
#include <sys_vars.h>
Public Member Functions | |
Sys_var_double (const char *name_arg, const char *comment, int flag_args, ptrdiff_t off, size_t size, CMD_LINE getopt, double min_val, double max_val, double def_val, PolyLock *lock=0, enum binlog_status_enum binlog_status_arg=VARIABLE_NOT_IN_BINLOG, on_check_function on_check_func=0, on_update_function on_update_func=0, const char *substitute=0, int parse_flag=PARSE_NORMAL) | |
bool | do_check (THD *thd, set_var *var) |
bool | session_update (THD *thd, set_var *var) |
bool | global_update (THD *thd, set_var *var) |
bool | check_update_type (Item_result type) |
void | session_save_default (THD *thd, set_var *var) |
void | global_save_default (THD *thd, set_var *var) |
The class for floating point variables
Class specific constructor arguments: min, max
Backing store: double
void Sys_var_double::global_save_default | ( | THD * | thd, |
set_var * | var | ||
) | [inline, virtual] |
save the global default value of the variable in var
Implements sys_var.
Reimplemented in Sys_var_session_special_double.
void Sys_var_double::session_save_default | ( | THD * | thd, |
set_var * | var | ||
) | [inline, virtual] |
save the session default value of the variable in var
Implements sys_var.
Reimplemented in Sys_var_session_special_double.