Commit 1e3620cc authored by Aleksey Midenkov's avatar Aleksey Midenkov

Tests: commit_id, truncate for Windows fix [#307]

parent aeee1506
...@@ -10,6 +10,7 @@ engine innodb; ...@@ -10,6 +10,7 @@ engine innodb;
insert into t1 values (); insert into t1 values ();
--real_sleep 0.01
set @ts0= now(6); set @ts0= now(6);
insert into t1 values (); insert into t1 values ();
select sys_trx_start from t1 where id = last_insert_id() into @tx0; select sys_trx_start from t1 where id = last_insert_id() into @tx0;
......
...@@ -18,7 +18,9 @@ drop table t; ...@@ -18,7 +18,9 @@ drop table t;
create table t (a int) with system versioning; create table t (a int) with system versioning;
insert into t values (1), (2); insert into t values (1), (2);
update t set a=11 where a=1; update t set a=11 where a=1;
--real_sleep 0.01
set @ts1=now(6); set @ts1=now(6);
--real_sleep 0.01
update t set a=22 where a=2; update t set a=22 where a=2;
select * from t for system_time all; select * from t for system_time all;
truncate t to system_time timestamp @ts1; truncate t to system_time timestamp @ts1;
......
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