diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2010-11-24 18:08:27 +0300 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2010-11-24 18:08:27 +0300 |
commit | 605d54e019374d0853db8424e950867b77182f0c (patch) | |
tree | 2d98c60b01dd908c3250f14fa4387ac7cca05124 /sql/sp.cc | |
parent | 39ce3628857ae593d932e28525c8042c972ab16a (diff) | |
download | mariadb-git-605d54e019374d0853db8424e950867b77182f0c.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.cc | 6 |
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; |