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

SQL: compare TRX_ID fields against timestamps [closes #231]

This commit is contained in:
Aleksey Midenkov
2017-08-03 10:11:49 +03:00
parent d998da0306
commit c2c8808a16
26 changed files with 1107 additions and 256 deletions

View File

@ -110,7 +110,7 @@ update t set a=22 where a=2;
select * from t for system_time all;
select * from t for system_time before timestamp @ts1;
insert into t values (33);
select max(sys_trx_start) from t into @tx;
select max(sys_trx_start + 0) 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;