Skip to content

Commit

Permalink
MDEV-16708: Unsupported commands for prepared statements
Browse files Browse the repository at this point in the history
Added the directive --disable_ps_protocol before running tests
that checking correct handling of ER_STACK_OVERRUN_NEED_MORE.
These tests rely on estimation of stack consumption that differ
in case statements run in regular and in ps mode.
  • Loading branch information
dmitryshulga authored and vuvova committed Jun 17, 2021
1 parent a3a8042 commit a720984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mysql-test/main/sp_notembedded.test
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ set @@max_sp_recursion_depth=255|
set @var=1|
# disable log because error about stack overrun contains numbers which
# depend on a system
-- disable_ps_protocol
-- disable_result_log
-- error ER_STACK_OVERRUN_NEED_MORE
call bug10100p(255, @var)|
Expand All @@ -197,6 +198,7 @@ call bug10100pd(1,255)|
-- error ER_STACK_OVERRUN_NEED_MORE
call bug10100pc(1,255)|
-- enable_result_log
-- enable_ps_protocol
set @@max_sp_recursion_depth=0|

deallocate prepare stmt2|
Expand Down

0 comments on commit a720984

Please sign in to comment.