1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Tests: truncate.test: get rid of transaction number

This commit is contained in:
Eugene Kosov
2017-07-20 15:00:10 +03:00
committed by Aleksey Midenkov
parent f8b6256992
commit c99bd3ac1a
2 changed files with 8 additions and 2 deletions

View File

@ -109,7 +109,9 @@ set @ts1=now(6);
update t set a=22 where a=2;
select * from t for system_time all;
select * from t for system_time before timestamp @ts1;
select * from t for system_time before transaction 2000;
insert into t values (33);
select max(sys_trx_start) from t into @tx;
select * from t for system_time before transaction @tx;
truncate t for system_time before timestamp @ts1;
select * from t for system_time all;
truncate t for system_time before timestamp now(6);