Public Member Functions | |
| sys_var_collation_sv (const char *name_arg, const charset_info_st *drizzle_system_variables::*offset_arg, const charset_info_st **global_default_arg) | |
| bool | update (Session *session, set_var *var) |
| void | set_default (Session *session, sql_var_t type) |
| unsigned char * | value_ptr (Session *session, sql_var_t type) |
| SHOW_TYPE | show_type () |
| bool | check_update_type (Item_result type) |
| bool | check_default (sql_var_t) |
| bool | check_type (sql_var_t) |
| 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) |
| 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 |
Private Attributes | |
|
const charset_info_st *drizzle_system_variables::* | offset |
| const charset_info_st ** | global_default |
| sys_after_update_func drizzled::sys_var::getAfterUpdateTrigger | ( | ) | const [inline, inherited] |
| const std::vector<std::string>& drizzled::sys_var::getAliases | ( | ) | const [inline, inherited] |
| const std::string& drizzled::sys_var::getName | ( | ) | const [inline, inherited] |
| struct option* drizzled::sys_var::getOptionLimits | ( | ) | const [inline, read, inherited] |
| Item * drizzled::sys_var::item | ( | Session * | session, |
| sql_var_t | var_type | ||
| ) | [inherited] |
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 798 of file sys_var.cc.
References drizzled::memory::Root::strdup().
| void drizzled::sys_var::setOptionLimits | ( | struct option * | in_option_limits | ) | [inline, inherited] |
sys_after_update_func drizzled::sys_var::after_update [protected, inherited] |
bool drizzled::sys_var::m_allow_empty_value [protected, inherited] |
std::string drizzled::sys_var::name [protected, inherited] |
struct option* drizzled::sys_var::option_limits [protected, inherited] |