Commit c99bd3ac authored by Eugene Kosov's avatar Eugene Kosov Committed by Aleksey Midenkov

Tests: truncate.test: get rid of transaction number

parent f8b62569
......@@ -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;
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment