summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorpem@mysql.com <>2003-02-04 17:40:18 +0100
committerpem@mysql.com <>2003-02-04 17:40:18 +0100
commitf2d6ec93218d38e7ab0dd2c1797ca66dbbc4a051 (patch)
tree713bbe3bbbdbcc413487207b67a5366a9b84ae24 /sql/sp.h
parentb43d7af60e72bf2252780b3dadd616ec64c3722d (diff)
downloadmariadb-git-f2d6ec93218d38e7ab0dd2c1797ca66dbbc4a051.tar.gz
Some new stuff in the Docs/sp-* files, and renamed a few functions in preparation
for future work.
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_ */