diff --git a/mysql-test/main/lotofstack.test b/mysql-test/main/lotofstack.test index a658fb00e9ff9..589d4b9cb4226 100644 --- a/mysql-test/main/lotofstack.test +++ b/mysql-test/main/lotofstack.test @@ -99,22 +99,21 @@ begin end| # end of the stack checking -set @@max_sp_recursion_depth=255| +set @@max_sp_recursion_depth=25| set @var=1| -# disable log because error about stack overrun contains numbers which -# depend on a system +# disable log because error message contains system-dependent numbers -- disable_ps_protocol -- disable_result_log --- error ER_STACK_OVERRUN_NEED_MORE -call bug10100p(255, @var)| --- error ER_STACK_OVERRUN_NEED_MORE -call bug10100pt(1,255)| --- error ER_STACK_OVERRUN_NEED_MORE -call bug10100pv(1,255)| --- error ER_STACK_OVERRUN_NEED_MORE -call bug10100pd(1,255)| --- error ER_STACK_OVERRUN_NEED_MORE -call bug10100pc(1,255)| +-- error ER_SP_RECURSION_LIMIT +call bug10100p(25, @var)| +-- error ER_SP_RECURSION_LIMIT +call bug10100pt(1,25)| +-- error ER_SP_RECURSION_LIMIT +call bug10100pv(1,25)| +-- error ER_SP_RECURSION_LIMIT +call bug10100pd(1,25)| +-- error ER_SP_RECURSION_LIMIT +call bug10100pc(1,25)| -- enable_result_log -- enable_ps_protocol set @@max_sp_recursion_depth=0|