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

remove @@system_versioning_innodb_algorithm_simple

and delete few garbage-in-garbage-out tests
This commit is contained in:
Sergei Golubchik
2018-02-22 01:09:01 +01:00
parent b9c70b889c
commit 33366b1098
11 changed files with 11 additions and 103 deletions

View File

@@ -216,19 +216,14 @@ select @trx_start < unix_timestamp(@ts) - 100 as trx_start_good;
--echo ## TIMESTAMP specifier
select x from t1 for system_time as of timestamp @ts;
select x from t1 for system_time as of timestamp unix_timestamp(@ts);
select x from t1 for system_time as of timestamp @trx_start;
set @ts= timestamp'1-1-1 0:0:0';
--echo ## TRANSACTION specifier
select x from t1 for system_time as of transaction @ts;
select x from t1 for system_time as of transaction unix_timestamp(@ts);
select x from t1 for system_time as of transaction @trx_start;
--echo ## no specifier (auto-detection)
select x from t1 for system_time as of @ts;
select x from t1 for system_time as of unix_timestamp(@ts);
select x from t1 for system_time as of @trx_start;

View File

@@ -108,15 +108,6 @@ select sys_start from t1 where x = 3 into @trx_id3;
select @trx_id1 < @trx_id2, @trx_id2 < @trx_id3;
select @ts1 < @ts2, @ts2 < @ts3;
--echo # MVCC is not resolved
select * from t1 for system_time as of transaction @trx_id1;
select * from t1 for system_time as of timestamp @ts1;
select * from t1 for system_time as of transaction @trx_id2;
select * from t1 for system_time as of timestamp @ts2;
select * from t1 for system_time as of transaction @trx_id3;
select * from t1 for system_time as of timestamp @ts3;
set system_versioning_innodb_algorithm_simple= off;
--echo # MVCC is resolved
select * from t1 for system_time as of transaction @trx_id1;
select * from t1 for system_time as of timestamp @ts1;