|
drizzle
C++ MySQL-protocol-compatible database server
|
#include <sys_var.h>
Public Member Functions | |
| sys_var (const std::string &name_arg, sys_after_update_func func=NULL, sys_check_func check_func_arg=NULL) | |
| 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 |
| virtual bool | check (Session *session, set_var *var) |
| bool | check_enum (Session *session, set_var *var, const TYPELIB *enum_names) |
| virtual bool | update (Session *session, set_var *var)=0 |
| virtual void | set_default (Session *, sql_var_t) |
| virtual SHOW_TYPE | show_type () |
| virtual unsigned char * | value_ptr (Session *, sql_var_t)=0 |
| virtual bool | check_type (sql_var_t type) |
| virtual bool | check_update_type (Item_result type) |
| virtual bool | check_default (sql_var_t) |
| Item * | item (Session *, sql_var_t) |
| virtual bool | is_readonly () const |
Protected Attributes | |
| std::string | name |
| sys_check_func | check_func |
| sys_after_update_func | after_update |
| struct option * | option_limits |
| bool | m_allow_empty_value |
A class which represents a variable, either global or session-local.
|
inline |
Definition at line 247 of file sys_var.cc.
|
inlinevirtual |
Definition at line 742 of file sys_var.cc.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
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 792 of file sys_var.cc.
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |