|
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_native (Session *, str_ref name, List< Item > *)=0 |
Definition at line 128 of file drizzled/item/create.cc.
|
inlinevirtual |
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.
Definition at line 131 of file drizzled/item/create.cc.
|
pure virtual |
Builder method, with no arguments.
| session | The current thread |
| name | The native function name |
| item_list | The function parameters, none of which are named |
Implemented in drizzled::Create_func_concat, drizzled::Create_func_concat_ws, drizzled::Create_func_export_set, drizzled::Create_func_field, drizzled::Create_func_from_unixtime, drizzled::Create_func_greatest, drizzled::Create_func_last_insert_id, drizzled::Create_func_least, drizzled::Create_func_locate, drizzled::Create_func_make_set, drizzled::Create_func_round, and drizzled::Create_func_unix_timestamp.