|
My Project
|
Public Member Functions | |
| virtual Item * | create_func (THD *thd, LEX_STRING name, List< Item > *item_list) |
| virtual Item * | create (THD *thd)=0 |
Protected Member Functions | |
| Create_func_arg0 () | |
| virtual | ~Create_func_arg0 () |
Adapter for functions that takes exactly zero arguments.
| Create_func_arg0::Create_func_arg0 | ( | ) | [inline, protected] |
Constructor.
| virtual Create_func_arg0::~Create_func_arg0 | ( | ) | [inline, protected, virtual] |
Destructor.
| virtual Item* Create_func_arg0::create | ( | THD * | thd | ) | [pure virtual] |
Builder method, with no arguments.
| thd | The current thread |
Implemented in Create_func_version, Create_func_uuid_short, Create_func_uuid, Create_func_pi, Create_func_found_rows, and Create_func_connection_id.
| Item * Create_func_arg0::create_func | ( | THD * | thd, |
| LEX_STRING | name, | ||
| List< Item > * | item_list | ||
| ) | [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 thd 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.
thd->lex->binlog_row_based_if_mixed thd->lex->current_context() thd->lex->safe_to_cache_query thd->lex->uncacheable(UNCACHEABLE_SIDEEFFECT) thd->lex->uncacheable(UNCACHEABLE_RAND) thd->lex->add_time_zone_tables_to_query_tables(thd) | thd | The current thread |
| name | The function name |
| item_list | The list of arguments to the function, can be NULL |
Implements Create_func.
1.7.6.1