diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-08-04 16:33:58 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-08-04 16:33:58 +0400 |
commit | 0f1cadd9a5e6e8aa2103100502b0a5b4227e8d7b (patch) | |
tree | e595d36fd2f5d0f1d69114a2dada71e64f1bfb55 /sql/sp.h | |
parent | b3977ac23f90c11be7f0f6e019239fd9580130cb (diff) | |
download | mariadb-git-0f1cadd9a5e6e8aa2103100502b0a5b4227e8d7b.tar.gz |
MDEV-13450 Cleanup SP code for packages
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -60,6 +60,9 @@ class Sp_handler TABLE *table) const; int db_find_routine(THD *thd, const Database_qualified_name *name, sp_head **sphp) const; + int db_find_and_cache_routine(THD *thd, + const Database_qualified_name *name, + sp_head **sp) const; int db_load_routine(THD *thd, const Database_qualified_name *name, sp_head **sphp, sql_mode_t sql_mode, @@ -73,6 +76,10 @@ class Sp_handler int sp_drop_routine_internal(THD *thd, const Database_qualified_name *name, TABLE *table) const; + + sp_head *sp_clone_and_link_routine(THD *thd, + const Database_qualified_name *name, + sp_head *sp) const; public: static const Sp_handler *handler(enum enum_sql_command cmd); static const Sp_handler *handler(stored_procedure_type type); |