diff options
Diffstat (limited to 'sql/item_create.h')
-rw-r--r-- | sql/item_create.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sql/item_create.h b/sql/item_create.h index 05fe48f656a..a2d985dd3e8 100644 --- a/sql/item_create.h +++ b/sql/item_create.h @@ -56,7 +56,7 @@ public: @param item_list The list of arguments to the function, can be NULL @return An item representing the parsed function call, or NULL */ - virtual Item *create_func(THD *thd, LEX_STRING name, List<Item> *item_list) = 0; + virtual Item *create_func(THD *thd, LEX_CSTRING *name, List<Item> *item_list) = 0; protected: /** Constructor */ @@ -83,7 +83,8 @@ public: @param item_list The list of arguments to the function, can be NULL @return An item representing the parsed function call */ - virtual Item *create_func(THD *thd, LEX_STRING name, List<Item> *item_list); + virtual Item *create_func(THD *thd, LEX_CSTRING *name, + List<Item> *item_list); /** The builder create method, for qualified functions. @@ -94,7 +95,7 @@ public: @param item_list The list of arguments to the function, can be NULL @return An item representing the parsed function call */ - virtual Item *create_with_db(THD *thd, LEX_STRING db, LEX_STRING name, + virtual Item *create_with_db(THD *thd, LEX_CSTRING *db, LEX_CSTRING *name, bool use_explicit_name, List<Item> *item_list) = 0; @@ -112,7 +113,8 @@ protected: @param name The native function name @return The native function builder associated with the name, or NULL */ -extern Create_func * find_native_function_builder(THD *thd, LEX_STRING name); +extern Create_func *find_native_function_builder(THD *thd, + const LEX_CSTRING *name); /** @@ -131,7 +133,8 @@ extern Create_qfunc * find_qualified_function_builder(THD *thd); class Create_udf_func : public Create_func { public: - virtual Item *create_func(THD *thd, LEX_STRING name, List<Item> *item_list); + virtual Item *create_func(THD *thd, LEX_CSTRING *name, + List<Item> *item_list); /** The builder create method, for User Defined Functions. |