Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions mysql-test/main/lotofstack.test
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down