summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-06-22 11:02:44 -0700
committerunknown <jimw@mysql.com>2005-06-22 11:02:44 -0700
commit5629af179a8423adcae1ef249c2c5efe1ef3c71c (patch)
treee559a2b16806121968e8be0283e206d179797824 /sql/share
parent8fc03d970b24cd7bc61da98b8ff00033af27f809 (diff)
downloadmariadb-git-5629af179a8423adcae1ef249c2c5efe1ef3c71c.tar.gz
Change error message when the amount of stack needed is not available
to include how much stack space we need. (Bug #11213) sql/share/errmsg.txt: Add new error message sql/sql_parse.cc: Use new ER_STACK_OVERRUN_NEED_MORE, which includes information on how much room we need on the stack.
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 fcc04c950aa..7a380c453fd 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_STACK_OVERRUN_NEED_MORE
+ eng "Thread stack overrun: %ld bytes used of a %ld byte stack, and %ld bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack."