summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2003-02-04 17:40:18 +0100
committerunknown <pem@mysql.com>2003-02-04 17:40:18 +0100
commit565d98958efd48d7c0a39891c5c0d463626dd1fc (patch)
tree713bbe3bbbdbcc413487207b67a5366a9b84ae24 /sql/sp.h
parent77f30e19a6da4d17a5e282e5967cf4c61b35ddec (diff)
downloadmariadb-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.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/sql/sp.h b/sql/sp.h
index cb3343a4e92..99ea97cba8f 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -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_ */