summaryrefslogtreecommitdiff
path: root/sql/sp.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-11-24 18:08:27 +0300
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-11-24 18:08:27 +0300
commitefb1f6407361ba7978aa092cfea102b700359333 (patch)
tree2d98c60b01dd908c3250f14fa4387ac7cca05124 /sql/sp.cc
parenta92cc88aa537bc1a3264c3681d2407e54a9dba74 (diff)
downloadmariadb-git-efb1f6407361ba7978aa092cfea102b700359333.tar.gz
Bug#45445: cannot execute procedures with thread_stack set to 128k.
Reverting the patch.
Diffstat (limited to 'sql/sp.cc')
-rw-r--r--sql/sp.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/sp.cc b/sql/sp.cc
index 5d424564317..71a5afb437c 100644
--- a/sql/sp.cc
+++ b/sql/sp.cc
@@ -779,9 +779,6 @@ db_load_routine(THD *thd, int type, sp_name *name, sp_head **sphp,
int ret= 0;
- if (check_stack_overrun(thd, STACK_MIN_SIZE, (uchar*)&ret))
- return TRUE;
-
thd->lex= &newlex;
newlex.current_select= NULL;
@@ -1611,9 +1608,6 @@ sp_find_routine(THD *thd, int type, sp_name *name, sp_cache **cp,
(int) name->m_name.length, name->m_name.str,
type, cache_only));
- if (check_stack_overrun(thd, STACK_MIN_SIZE, (uchar*)&depth))
- return NULL;
-
if ((sp= sp_cache_lookup(cp, name)))
{
ulong level;