summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorgluh@gluh.mysql.r18.ru <>2003-11-17 21:21:36 +0400
committergluh@gluh.mysql.r18.ru <>2003-11-17 21:21:36 +0400
commitee4ed0c969f61227b6b928c6c956fa6589aff341 (patch)
tree121785070fab8fad08af454596559be157ddaade /sql/sp.h
parent81c4cca68619bb232aa1acac78d08b8354f1fb7b (diff)
downloadmariadb-git-ee4ed0c969f61227b6b928c6c956fa6589aff341.tar.gz
WL#1241: SHOW PROCEDURE/FUNCTION
WL#1263: Support for the attributes COMMENT and SUID in CREATE/ALTER PROCEDURE/FUNCTION
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);