#include <create.h>
Function builder for User Defined Functions.
Definition at line 119 of file create.h.
drizzled::Create_udf_func::Create_udf_func |
( |
) | |
|
|
inlineprotected |
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)
- Parameters
-
session | The current thread |
name | The function name |
item_list | The list of arguments to the function, can be NULL |
- Returns
- An item representing the parsed function call, or NULL
Implements drizzled::Create_func.
Definition at line 938 of file create.cc.
The builder create method, for User Defined Functions.
- Parameters
-
session | The current thread |
fct | The User Defined Function metadata |
item_list | The list of arguments to the function, can be NULL |
- Returns
- An item representing the parsed function call
Definition at line 943 of file create.cc.
References drizzled::Item_func::check_argument_count().
The documentation for this class was generated from the following files: