Commit a7209842 authored by Dmitry Shulga's avatar Dmitry Shulga Committed by Sergei Golubchik

MDEV-16708: Unsupported commands for prepared statements

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.
parent a3a80420
......@@ -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)|
......@@ -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|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment