diff options
author | unknown <iggy@recycle.(none)> | 2007-03-29 11:12:12 -0400 |
---|---|---|
committer | unknown <iggy@recycle.(none)> | 2007-03-29 11:12:12 -0400 |
commit | 09eff0aa5bdbfaebe47c155084d5d84e6f5adec4 (patch) | |
tree | 14bbae6fb1546e1d0acc5ace4a9e3450c777ab9e /sql/item_create.h | |
parent | 1edf36853b8ce2c4a3e5a3b2676445baef60b50f (diff) | |
download | mariadb-git-09eff0aa5bdbfaebe47c155084d5d84e6f5adec4.tar.gz |
Bug #23491 MySQLDump prefix function call in a view by database name
- 5.0 merged to 5.1 differences.
sql/item_create.cc:
Bug #23491 MySQLDump prefix function call in a view by database name
- Added use_explicit_name to Create_sp_func::create method.
- Default use_explicit_name to false when db name not specified.
- Use use_explicit_name when creating sp_name object.
sql/item_create.h:
Bug #23491 MySQLDump prefix function call in a view by database name
- Updated virtual function definition.
sql/sql_yacc.yy:
Bug #23491 MySQLDump prefix function call in a view by database name
- Use new create method.
Diffstat (limited to 'sql/item_create.h')
-rw-r--r-- | sql/item_create.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_create.h b/sql/item_create.h index 985c4428d8f..0a668b3e67f 100644 --- a/sql/item_create.h +++ b/sql/item_create.h @@ -87,11 +87,12 @@ public: @param thd The current thread @param db The database name @param name The function name + @param use_explicit_name Should the function be represented as 'db.name'? @param item_list The list of arguments to the function, can be NULL @return An item representing the parsed function call */ virtual Item* create(THD *thd, LEX_STRING db, LEX_STRING name, - List<Item> *item_list) = 0; + bool use_explicit_name, List<Item> *item_list) = 0; protected: /** Constructor. */ |