1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-15001 no tests for system_versioning_innodb_algorithm_simple

Vers SQL: TRT fix getting TRX_ID by COMMIT_TS

Fixed wrong assumption that records are ordered by COMMIT_TS.
This is anyway a quick hack until tempesta-tech#314 is done.

See also FIXME and TODO in TR_table::query(MYSQL_TIME, bool).

Test: SEES case for trx_id.test [closes #456]
This commit is contained in:
Aleksey Midenkov
2018-01-22 17:10:19 +03:00
committed by Sergei Golubchik
parent e36c5ec0a5
commit 75afaa7e00
5 changed files with 184 additions and 21 deletions

View File

@@ -61,9 +61,9 @@ select
vtq_trx_sees_eq(@tx1, @tx1) as C,
not vtq_trx_sees(@tx1, @tx1) as D,
vtq_trx_sees(@tx2, 0) as E,
vtq_trx_sees(0, @tx2) is null as F,
vtq_trx_sees(-1, @tx2) as H;
vtq_trx_sees(-1, @tx2) as F;
select vtq_trx_sees(0, @tx2);
# VTQ_ISO_LEVEL #