My Project
Public Member Functions
Sys_var_mybool Class Reference

#include <sys_vars.h>

Inheritance diagram for Sys_var_mybool:
Sys_var_typelib sys_var Sys_var_test_flag Sys_var_tx_read_only

List of all members.

Public Member Functions

 Sys_var_mybool (const char *name_arg, const char *comment, int flag_args, ptrdiff_t off, size_t size, CMD_LINE getopt, my_bool 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 session_update (THD *thd, set_var *var)
bool global_update (THD *thd, set_var *var)
void session_save_default (THD *thd, set_var *var)
void global_save_default (THD *thd, set_var *var)

Detailed Description

The class for boolean variables - a variant of ENUM variables with the fixed list of values of { OFF , ON }

Backing store: my_bool


Member Function Documentation

void Sys_var_mybool::global_save_default ( THD *  thd,
set_var var 
) [inline, virtual]

save the global default value of the variable in var

Implements sys_var.

void Sys_var_mybool::session_save_default ( THD *  thd,
set_var var 
) [inline, virtual]

save the session default value of the variable in var

Implements sys_var.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines