1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-16708: Unsupported commands for prepared statements

Fixed test failures caused by missing output of warnings that
got on prepare phase
This commit is contained in:
Dmitry Shulga
2021-04-28 12:44:46 +07:00
committed by Sergei Golubchik
parent aeca826c5f
commit 8754fce8b0
6 changed files with 22 additions and 1 deletions

View File

@ -1471,7 +1471,9 @@ insert into t2 values (1), (2);
let $q1=
select (values ((select 2))) from t2;
eval $q1;
--enable_prepare_warnings
eval explain $q1;
--disable_prepare_warnings
eval prepare stmt from "$q1";
execute stmt;
execute stmt;