mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
committed by
Sergei Golubchik
parent
e36c5ec0a5
commit
75afaa7e00
@@ -57,10 +57,12 @@ not vtq_trx_sees(@tx0, @tx1) as B,
|
||||
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;
|
||||
A B C D E F H
|
||||
1 1 1 1 1 1 1
|
||||
vtq_trx_sees(-1, @tx2) as F;
|
||||
A B C D E F
|
||||
1 1 1 1 1 1
|
||||
select vtq_trx_sees(0, @tx2);
|
||||
vtq_trx_sees(0, @tx2)
|
||||
NULL
|
||||
set transaction isolation level read uncommitted;
|
||||
insert into t1 values ();
|
||||
select sys_trx_start from t1 where id = last_insert_id() into @tx3;
|
||||
|
Reference in New Issue
Block a user