mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Bug#45445: cannot execute procedures with thread_stack set to 128k.
Reverting the patch.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user