Drizzled Public API Documentation

drizzled::sys_var_session_storage_engine Class Reference
Inheritance diagram for drizzled::sys_var_session_storage_engine:
drizzled::sys_var_session drizzled::sys_var

List of all members.

Public Member Functions

 sys_var_session_storage_engine (const char *name_arg, plugin::StorageEngine *drizzle_system_variables::*offset_arg)
SHOW_TYPE show_type ()
bool check_update_type (Item_result type)
void set_default (Session *session, sql_var_t type)
bool update (Session *session, set_var *var)
unsigned char * value_ptr (Session *session, sql_var_t type, const LEX_STRING *base)
bool check_type (sql_var_t)
bool check_default (sql_var_t type)
void setName (const std::string &name_in)
const std::string & getName () const
const std::vector< std::string > & getAliases () const
struct optiongetOptionLimits () 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)
Itemitem (Session *session, sql_var_t type, const LEX_STRING *base)
virtual bool is_readonly () const

Protected Attributes

plugin::StorageEngine
*drizzle_system_variables::* 
offset
std::string name
sys_check_func check_func
sys_after_update_func after_update
struct optionoption_limits
bool m_allow_empty_value

Detailed Description

Definition at line 940 of file sys_var.h.


Member Function Documentation

sys_after_update_func drizzled::sys_var::getAfterUpdateTrigger ( ) const [inline, inherited]

Returns the function pointer for after update trigger, or NULL if none.

Definition at line 148 of file sys_var.h.

const std::vector<std::string>& drizzled::sys_var::getAliases ( ) const [inline, inherited]

Returns a vector of strings representing aliases for this variable's name.

Definition at line 125 of file sys_var.h.

const std::string& drizzled::sys_var::getName ( ) const [inline, inherited]

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.

struct option* drizzled::sys_var::getOptionLimits ( ) const [inline, read, inherited]

Returns a pointer to the variable's option limits

Definition at line 132 of file sys_var.h.

Item * drizzled::sys_var::item ( Session session,
sql_var_t  var_type,
const LEX_STRING base 
) [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 904 of file sys_var.cc.

void drizzled::sys_var::setOptionLimits ( struct option in_option_limits) [inline, inherited]

Sets the pointer to the variable's option limits

Parameters:
Pointerto the option limits option variable

Definition at line 141 of file sys_var.h.


Member Data Documentation

sys_after_update_func drizzled::sys_var::after_update [protected, inherited]

Function pointer triggered after the variable's value is updated

Definition at line 89 of file sys_var.h.

bool drizzled::sys_var::m_allow_empty_value [protected, inherited]

Does variable allow an empty value?

Definition at line 91 of file sys_var.h.

std::string drizzled::sys_var::name [protected, inherited]

The name of the variable

Definition at line 87 of file sys_var.h.

struct option* drizzled::sys_var::option_limits [protected, inherited]

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: