summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorpem@mysql.comhem.se <>2005-05-31 18:36:32 +0200
committerpem@mysql.comhem.se <>2005-05-31 18:36:32 +0200
commit76073d7bf5878e77435406e3b24346a547ea1e14 (patch)
tree151c51e4a5a263cada0599bd33881110da8caf0b /sql/sp.h
parentda6c4bd5b1e2fe13b93ecc844500290afc0f6661 (diff)
downloadmariadb-git-76073d7bf5878e77435406e3b24346a547ea1e14.tar.gz
Fixed BUG#9529: Stored Procedures: No Warning on truncation of procedure name
during creation. Although it returns an error, consistent with the behaviour for other objects. (Unclear why we would allow the creation of SPs with truncated names.)
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 00dd8416c1d..16d79026132 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -28,6 +28,7 @@
#define SP_PARSE_ERROR -6
#define SP_INTERNAL_ERROR -7
#define SP_NO_DB_ERROR -8
+#define SP_BAD_IDENTIFIER -9
/* Drop all routines in database 'db' */
int