diff options
author | unknown <pem@mysql.com> | 2003-02-04 17:40:18 +0100 |
---|---|---|
committer | unknown <pem@mysql.com> | 2003-02-04 17:40:18 +0100 |
commit | 565d98958efd48d7c0a39891c5c0d463626dd1fc (patch) | |
tree | 713bbe3bbbdbcc413487207b67a5366a9b84ae24 /sql/sp.h | |
parent | 77f30e19a6da4d17a5e282e5967cf4c61b35ddec (diff) | |
download | mariadb-git-565d98958efd48d7c0a39891c5c0d463626dd1fc.tar.gz |
Some new stuff in the Docs/sp-* files, and renamed a few functions in preparation
for future work.
Docs/sp-imp-spec.txt:
Started on the FUNCTION parts...
Docs/sp-implemented.txt:
Added som info on SET behaviour, and added Open questions.
sql/sp.cc:
Renamed functions.
sql/sp.h:
Renamed functions.
sql/sql_parse.cc:
Renamed functions.
Diffstat (limited to 'sql/sp.h')
-rw-r--r-- | sql/sp.h | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -22,12 +22,23 @@ // Finds a stored procedure given its name. Returns NULL if not found. // sp_head * -sp_find(THD *thd, Item_string *name); +sp_find_procedure(THD *thd, Item_string *name); int sp_create_procedure(THD *thd, char *name, uint namelen, char *def, uint deflen); int -sp_drop(THD *thd, char *name, uint namelen); +sp_drop_procedure(THD *thd, char *name, uint namelen); + +#if 0 +sp_head * +sp_find_function(THD *thd, Item_string *name); + +int +sp_create_function(THD *thd, char *name, uint namelen, char *def, uint deflen); + +int +sp_drop_function(THD *thd, char *name, uint namelen); +#endif #endif /* _SP_H_ */ |