List of all members.
Public Member Functions |
| sys_var_std_string (const std::string &name_arg, std::string &value_arg, sys_check_func check_func_arg=NULL, sys_update_func update_func_arg=NULL) |
void | set (char *val_in) |
void | set_check_func (sys_check_func check_func_arg=NULL) |
void | set_update_func (sys_update_func update_func_arg=NULL) |
bool | check (Session *session, set_var *var) |
bool | update (Session *session, set_var *var) |
SHOW_TYPE | show_type () |
unsigned char * | value_ptr (Session *, sql_var_t, const LEX_STRING *) |
bool | check_update_type (Item_result type) |
bool | check_default (sql_var_t) |
bool | is_readonly () const |
void | setName (const std::string &name_in) |
const std::string & | getName () const |
const std::vector< std::string > & | getAliases () const |
struct option * | getOptionLimits () const |
void | setOptionLimits (struct option *in_option_limits) |
sys_after_update_func | getAfterUpdateTrigger () const |
bool | check_enum (Session *session, set_var *var, const TYPELIB *enum_names) |
virtual void | set_default (Session *, sql_var_t) |
virtual bool | check_type (sql_var_t type) |
Item * | item (Session *session, sql_var_t type, const LEX_STRING *base) |
Protected Attributes |
std::string | name |
sys_after_update_func | after_update |
struct option * | option_limits |
bool | m_allow_empty_value |
Private Attributes |
std::string & | value |
sys_check_func | check_func |
sys_update_func | update_func |
sys_set_default_func | set_default_func |
Detailed Description
Definition at line 556 of file sys_var.h.
Member Function Documentation
Returns the function pointer for after update trigger, or NULL if none.
Definition at line 148 of file sys_var.h.
Returns a vector of strings representing aliases for this variable's name.
Definition at line 125 of file sys_var.h.
Returns the name of the variable.
- Note:
So that we can exist in a Registry. We really need to formalize that
Definition at line 117 of file sys_var.h.
Returns a pointer to the variable's option limits
Definition at line 132 of file sys_var.h.
Return an Item for a variable.
Used with @[global.]variable_name.
If type is not given, return local value if exists, else global.
Definition at line 904 of file sys_var.cc.
Sets the pointer to the variable's option limits
- Parameters:
-
Pointer | to the option limits option variable |
Definition at line 141 of file sys_var.h.
Member Data Documentation
Function pointer triggered after the variable's value is updated
Definition at line 89 of file sys_var.h.
Does variable allow an empty value?
Definition at line 91 of file sys_var.h.
The name of the variable
Definition at line 87 of file sys_var.h.
Updated by by sys_var_init()
Definition at line 90 of file sys_var.h.
The documentation for this class was generated from the following files: