summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authoranozdrin/alik@station. <>2007-10-17 12:13:56 +0400
committeranozdrin/alik@station. <>2007-10-17 12:13:56 +0400
commit49a0f09bbfa7c29a2919f8f2b56677e8a5436f3c (patch)
tree044d1fd12d5532f522987ae1bf8f26291f8ba733 /sql/sp.h
parentee3e6d8171221a9a7b18dcaa2f7e6275b20b4e3f (diff)
downloadmariadb-git-49a0f09bbfa7c29a2919f8f2b56677e8a5436f3c.tar.gz
Fix for BUG#24923: Functions with ENUM issues.
The problem was that the RETURNS column in the mysql.proc was of CHAR(64). That was not enough for storing long-named datatypes. The fix is to change CHAR(64) to LONGBLOB, and to throw warnings at the time a stored routine is created if some data is truncated during writing into mysql.proc.
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 3797eb289a4..31173e1f90c 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -29,6 +29,7 @@
#define SP_NO_DB_ERROR -8
#define SP_BAD_IDENTIFIER -9
#define SP_BODY_TOO_LONG -10
+#define SP_FLD_STORE_FAILED -11
/* Drop all routines in database 'db' */
int