summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorpem@mysql.comhem.se <>2004-06-15 15:42:28 +0200
committerpem@mysql.comhem.se <>2004-06-15 15:42:28 +0200
commitecd424ac5888102f9b2d7fe455b26eabd981d0ef (patch)
treeca16586fc071c4e4017d3e2098ebdb4e56eefc5d /sql/sp.h
parent26ec49f1a88e302cd22c7221710c9fc73de785a9 (diff)
downloadmariadb-git-ecd424ac5888102f9b2d7fe455b26eabd981d0ef.tar.gz
Fixed BUG#3339: Stored procedures in nonexistent schemas are uncallable.
Also added some related security tests and corrected related error messages.
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp.h b/sql/sp.h
index a6f76876f33..783de2fe7ee 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -27,6 +27,7 @@
#define SP_GET_FIELD_FAILED -5
#define SP_PARSE_ERROR -6
#define SP_INTERNAL_ERROR -7
+#define SP_NO_DB_ERROR -8
/* Drop all routines in database 'db' */
int