Drizzled Public API Documentation

drizzled::set_var Class Reference
Inheritance diagram for drizzled::set_var:
drizzled::set_var_base

Public Member Functions

 set_var (sql_var_t type_arg, sys_var *var_arg, str_ref base_name_arg, Item *value_arg)
 
int check (Session *session)
 
int update (Session *session)
 
void setValue (const std::string &new_value)
 
void setValue (uint64_t new_value)
 
void updateValue ()
 
uint64_t getInteger ()
 

Public Attributes

sys_varvar
 
Itemvalue
 
sql_var_t type
 
str_ref base
 

Private Attributes

uint64_t uint64_t_value
 
std::string str_value
 

Detailed Description

Definition at line 52 of file set_var.h.

Member Function Documentation

int drizzled::set_var::update ( Session session)
virtual

Update variable

Parameters
sessionthread handler
Returns
0|1 ok or ERROR
Note
ERROR can be only due to abnormal operations involving the server's execution evironment such as out of memory, hard disk failure or the computer blows up. Consider set_var::check() method if there is a need to return an error due to logics.

Implements drizzled::set_var_base.

Definition at line 151 of file set_var.cc.


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