|
drizzle
C++ MySQL-protocol-compatible database server
|
Public Member Functions | |
| virtual Item * | create (Session *session, str_ref name, List< Item > *item_list) |
| virtual Item * | create (Session *session)=0 |
Adapter for functions that takes exactly zero arguments.
Definition at line 156 of file drizzled/item/create.cc.
Builder method, with no arguments.
| session | The current thread |
Implemented in drizzled::Create_func_found_rows, drizzled::Create_func_pi, and drizzled::Create_func_row_count.
|
virtual |
The builder create method. Given the function name and list or arguments, this method creates an Item that represents the function call. In case or errors, a NULL item is returned, and an error is reported. Note that the session object may be modified by the builder. In particular, the following members/methods can be set/called, depending on the function called and the function possible side effects.
session->lex().current_context() session->lex().uncacheable(UNCACHEABLE_SIDEEFFECT) session->lex().uncacheable(UNCACHEABLE_RAND) | session | The current thread |
| name | The function name |
| item_list | The list of arguments to the function, can be NULL |
Implements drizzled::Create_func.
Reimplemented in drizzled::Create_func_found_rows, drizzled::Create_func_pi, and drizzled::Create_func_row_count.
Definition at line 957 of file drizzled/item/create.cc.