summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-07-26 18:08:49 -0700
committerjimw@mysql.com <>2005-07-26 18:08:49 -0700
commit0536bd6679accf8f168efe1b9d512db42ae5c433 (patch)
tree0b255fa282c6caf7c049b919090d9116dcc699b6 /sql/sp.h
parentd503283863ba3534f3cf221bef1ac7bcdd0dee7c (diff)
downloadmariadb-git-0536bd6679accf8f168efe1b9d512db42ae5c433.tar.gz
Increase allowed size of stored procedure bodies to 4GB, and
produce a sensible error when that limit is exceeded. (Bug #11602)
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 b8af8d3a321..86351f61de9 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -29,6 +29,7 @@
#define SP_INTERNAL_ERROR -7
#define SP_NO_DB_ERROR -8
#define SP_BAD_IDENTIFIER -9
+#define SP_BODY_TOO_LONG -10
/* Drop all routines in database 'db' */
int