Drizzled Public API Documentation

drizzled::sys_var_last_insert_id Class Reference
Inheritance diagram for drizzled::sys_var_last_insert_id:
drizzled::sys_var

Public Member Functions

 sys_var_last_insert_id (const char *name_arg)
 
bool update (Session *session, set_var *var)
 
bool check_type (sql_var_t type)
 
SHOW_TYPE show_type ()
 
unsigned char * value_ptr (Session *session, 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)
 
virtual void set_default (Session *, sql_var_t)
 
virtual bool check_update_type (Item_result type)
 
virtual bool check_default (sql_var_t)
 
Itemitem (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 optionoption_limits
 
bool m_allow_empty_value
 

Detailed Description

Definition at line 975 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
inlineinherited

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: