summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sql/sp.h b/sql/sp.h
index bbf8832d55d..e7c2fba3bba 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -38,6 +38,17 @@ int
sp_drop_procedure(THD *thd, char *name, uint namelen);
+int
+sp_update_procedure(THD *thd, char *name, uint namelen,
+ char *newname, uint newnamelen,
+ char *comment, uint commentlen, enum suid_behaviour suid);
+
+int
+sp_show_create_procedure(THD *thd, LEX_STRING *name);
+
+int
+db_show_status_procedure(THD *thd, const char *wild);
+
sp_head *
sp_find_function(THD *thd, LEX_STRING *name);
@@ -48,6 +59,17 @@ sp_create_function(THD *thd, char *name, uint namelen, char *def, uint deflen,
int
sp_drop_function(THD *thd, char *name, uint namelen);
+int
+sp_update_function(THD *thd, char *name, uint namelen,
+ char *newname, uint newnamelen,
+ char *comment, uint commentlen, enum suid_behaviour suid);
+
+int
+sp_show_create_function(THD *thd, LEX_STRING *name);
+
+int
+db_show_status_function(THD *thd, const char *wild);
+
// QQ Temporary until the function call detection in sql_lex has been reworked.
bool
sp_function_exists(THD *thd, LEX_STRING *name);