summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-08-04 16:33:58 +0400
committerAlexander Barkov <bar@mariadb.org>2017-08-04 16:33:58 +0400
commit0f1cadd9a5e6e8aa2103100502b0a5b4227e8d7b (patch)
treee595d36fd2f5d0f1d69114a2dada71e64f1bfb55 /sql/sp.h
parentb3977ac23f90c11be7f0f6e019239fd9580130cb (diff)
downloadmariadb-git-0f1cadd9a5e6e8aa2103100502b0a5b4227e8d7b.tar.gz
MDEV-13450 Cleanup SP code for packages
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 94638299ca3..8192d211fc8 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -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);