diff options
author | gluh@gluh.mysql.r18.ru <> | 2003-11-17 21:21:36 +0400 |
---|---|---|
committer | gluh@gluh.mysql.r18.ru <> | 2003-11-17 21:21:36 +0400 |
commit | ee4ed0c969f61227b6b928c6c956fa6589aff341 (patch) | |
tree | 121785070fab8fad08af454596559be157ddaade /sql/sp.h | |
parent | 81c4cca68619bb232aa1acac78d08b8354f1fb7b (diff) | |
download | mariadb-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.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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); |