Drizzled Public API Documentation

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

List of all members.

Public Member Functions

 sys_var_session_uint32_t (const char *name_arg, uint32_t drizzle_system_variables::*offset_arg, sys_check_func c_func=NULL, sys_after_update_func au_func=NULL)
bool check (Session *session, set_var *var)
bool update (Session *session, set_var *var)
void set_default (Session *session, sql_var_t type)
SHOW_TYPE show_type ()
unsigned char * value_ptr (Session *session, sql_var_t type)
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
bool check_enum (Session *session, set_var *var, const TYPELIB *enum_names)
virtual bool check_update_type (Item_result type)
Itemitem (Session *, sql_var_t)
virtual bool is_readonly () const

Public Attributes

uint32_t
drizzle_system_variables::* 
offset

Protected Attributes

std::string name
sys_after_update_func after_update
struct optionoption_limits
bool m_allow_empty_value

Private Attributes

sys_check_func check_func

Detailed Description

Definition at line 745 of file sys_var.h.


Member Function Documentation

sys_after_update_func drizzled::sys_var::getAfterUpdateTrigger ( ) const
inlineinherited

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

Definition at line 142 of file sys_var.h.

const std::vector<std::string>& drizzled::sys_var::getAliases ( ) const
inlineinherited

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

Definition at line 119 of file sys_var.h.

const std::string& drizzled::sys_var::getName ( ) const
inlineinherited

Returns the name of the variable.

Note:

So that we can exist in a Registry. We really need to formalize that

Definition at line 111 of file sys_var.h.

struct option* drizzled::sys_var::getOptionLimits ( ) const
inlinereadinherited

Returns a pointer to the variable's option limits

Definition at line 126 of file sys_var.h.

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)
inlineinherited

Sets the pointer to the variable's option limits

Parameters:
Pointerto the option limits option variable

Definition at line 135 of file sys_var.h.


Member Data Documentation

sys_after_update_func drizzled::sys_var::after_update
protectedinherited

Function pointer triggered after the variable's value is updated

Definition at line 83 of file sys_var.h.

bool drizzled::sys_var::m_allow_empty_value
protectedinherited

Does variable allow an empty value?

Definition at line 85 of file sys_var.h.

std::string drizzled::sys_var::name
protectedinherited

The name of the variable

Definition at line 81 of file sys_var.h.

struct option* drizzled::sys_var::option_limits
protectedinherited

Updated by by sys_var_init()

Definition at line 84 of file sys_var.h.


The documentation for this class was generated from the following files: