diff options
Diffstat (limited to 'sql/item_create.h')
-rw-r--r-- | sql/item_create.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/item_create.h b/sql/item_create.h index 60a757b95d8..fe4f9cc3c6d 100644 --- a/sql/item_create.h +++ b/sql/item_create.h @@ -220,6 +220,12 @@ public: } bool append(const Native_func_registry array[]); bool remove(const Native_func_registry array[]); + bool replace(const Native_func_registry array[]) + { + DBUG_ENTER("Native_functions_hash::replace"); + remove(array); + DBUG_RETURN(append(array)); + } void cleanup(); /** Find the native function builder associated with a given function name. @@ -231,6 +237,7 @@ public: }; extern MYSQL_PLUGIN_IMPORT Native_functions_hash native_functions_hash; +extern MYSQL_PLUGIN_IMPORT Native_functions_hash native_functions_hash_oracle; extern const Native_func_registry func_array[]; extern const size_t func_array_length; |