1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Increase allowed size of stored procedure bodies to 4GB, and

produce a sensible error when that limit is exceeded. (Bug #11602)
This commit is contained in:
jimw@mysql.com
2005-07-26 18:08:49 -07:00
parent d503283863
commit 0536bd6679
10 changed files with 68 additions and 4 deletions

View File

@@ -4112,6 +4112,12 @@ end_with_restore_list:
delete lex->sphead;
lex->sphead= 0;
goto error;
case SP_BODY_TOO_LONG:
my_error(ER_TOO_LONG_BODY, MYF(0), name);
lex->unit.cleanup();
delete lex->sphead;
lex->sphead= 0;
goto error;
default:
my_error(ER_SP_STORE_FAILED, MYF(0), SP_TYPE_STRING(lex), name);
lex->unit.cleanup();