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

MDEV-16708: fix in test failures(added --enable_prepared_warnings/--disable_prepared_warnings)

This commit is contained in:
Dmitry Shulga
2021-06-10 11:12:27 +07:00
committed by Sergei Golubchik
parent fe78495053
commit 97e8d27bed
37 changed files with 107 additions and 6 deletions

View File

@ -17,6 +17,9 @@ insert into t1 values ();
--real_sleep 0.01
set @ts0= now(6);
insert into t1 values ();
--enable_prepare_warnings
select sys_trx_start from t1 where id = last_insert_id() into @tx0;
select transaction_id = @tx0 from mysql.transaction_registry
order by transaction_id desc limit 1;
@ -87,6 +90,7 @@ insert into t1 values ();
select sys_trx_start from t1 where id = last_insert_id() into @tx6;
select isolation_level = 'REPEATABLE-READ' from mysql.transaction_registry where transaction_id = @tx6;
--disable_prepare_warnings
drop table t1;
call verify_trt;