1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +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

@ -150,7 +150,9 @@ a
select * from t for system_time before timestamp @ts1;
a
1
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;
a
1
2
@ -160,10 +162,12 @@ a
11
22
2
33
truncate t for system_time before timestamp now(6);
select * from t for system_time all;
a
11
22
33
drop table t;
drop procedure truncate_history_of_t;