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

MDEV-16708: fixed issue with handling of the directive --enable-prepared-warnings in mysqltest

This commit is contained in:
Dmitry Shulga
2021-06-07 00:39:15 +07:00
committed by Sergei Golubchik
parent fc71746a6a
commit b126c3f3fa
50 changed files with 141 additions and 7 deletions

View File

@ -150,6 +150,7 @@ DROP USER test2@localhost;
--echo # MYSQL 8
--echo #
--enable_prepare_warnings
SELECT 1 FROM DUAL LIMIT 1 INTO @var FOR UPDATE;
SELECT 1 FROM DUAL LIMIT 1 FOR UPDATE INTO @var;
@ -159,3 +160,4 @@ SELECT 1 FROM DUAL LIMIT 1 INTO @var FOR UPDATE INTO @var;
SELECT 1 UNION SELECT 1 FOR UPDATE INTO @var;
SELECT 1 UNION SELECT 1 INTO @var FOR UPDATE;
--disable_prepare_warnings