|
My Project
|
#include <item_create.h>
Public Member Functions | |
| virtual Item * | create_func (THD *thd, LEX_STRING name, List< Item > *item_list) |
| virtual Item * | create (THD *thd, LEX_STRING db, LEX_STRING name, bool use_explicit_name, List< Item > *item_list)=0 |
Protected Member Functions | |
| Create_qfunc () | |
| virtual | ~Create_qfunc () |
Function builder for qualified functions. This builder is used with functions call using a qualified function name syntax, as in db.func(expr, expr, ...).
| Create_qfunc::Create_qfunc | ( | ) | [inline, protected] |
Constructor.
| virtual Create_qfunc::~Create_qfunc | ( | ) | [inline, protected, virtual] |
Destructor.
| virtual Item* Create_qfunc::create | ( | THD * | thd, |
| LEX_STRING | db, | ||
| LEX_STRING | name, | ||
| bool | use_explicit_name, | ||
| List< Item > * | item_list | ||
| ) | [pure virtual] |
The builder create method, for qualified functions.
| thd | The current thread |
| db | The database name |
| name | The function name |
| use_explicit_name | Should the function be represented as 'db.name'? |
| item_list | The list of arguments to the function, can be NULL |
Implemented in Create_sp_func.
| Item * Create_qfunc::create_func | ( | THD * | thd, |
| LEX_STRING | name, | ||
| List< Item > * | item_list | ||
| ) | [virtual] |
The builder create method, for unqualified functions. This builder will use the current database for the database name.
| 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