summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authordlenev@brandersnatch.localdomain <>2005-07-01 13:01:46 +0400
committerdlenev@brandersnatch.localdomain <>2005-07-01 13:01:46 +0400
commit56ff9f16535d2cb94f6a983b40ed6b6f16e5b370 (patch)
treef780b41399823750ea4737fc932dfa4c34d0319c /sql/share
parentf2e358d9dbde3eaf5b62d047b720c078eebbeb41 (diff)
downloadmariadb-git-56ff9f16535d2cb94f6a983b40ed6b6f16e5b370.tar.gz
"Fix" for bug #11394 "Recursion in SP crash server" and bug #11600
"Stored procedures: crash with function calling itself". Disallow recursive stored routines until we either make Item's and LEX reentrant safe or will use spearate sp_head instances (and thus separate LEX objects and Item trees) for each routine invocation.
Diffstat (limited to 'sql/share')
-rw-r--r--sql/share/errmsg.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/share/errmsg.txt b/sql/share/errmsg.txt
index 7ae5130764f..8230443da48 100644
--- a/sql/share/errmsg.txt
+++ b/sql/share/errmsg.txt
@@ -5358,3 +5358,5 @@ ER_STMT_HAS_NO_OPEN_CURSOR
eng "The statement (%lu) has no open cursor."
ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG
eng "Explicit or implicit commit is not allowed in stored function or trigger."
+ER_SP_NO_RECURSION
+ eng "Recursive stored routines are not allowed."