Public Member Functions | |
| virtual Item * | create (Session *session, Item *arg1) |
| virtual Item * | create (Session *session, str_ref name, List< Item > *item_list) |
Static Public Attributes | |
| static Create_func_oct | s_singleton |
|
virtualinherited |
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 965 of file create.cc.
References drizzled::Item::is_autogenerated_name.
Builder method, with one argument.
| session | The current thread |
| arg1 | The first argument of the function |
Implements drizzled::Create_func_arg1.