1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-10 19:44:09 +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

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

View File

@@ -103,32 +103,6 @@ select @trx_id1 < @trx_id2, @trx_id2 < @trx_id3;
select @ts1 < @ts2, @ts2 < @ts3;
@ts1 < @ts2 @ts2 < @ts3
1 1
# MVCC is not resolved
select * from t1 for system_time as of transaction @trx_id1;
x
1
select * from t1 for system_time as of timestamp @ts1;
x
3
select * from t1 for system_time as of transaction @trx_id2;
x
1
2
select * from t1 for system_time as of timestamp @ts2;
x
2
3
select * from t1 for system_time as of transaction @trx_id3;
x
1
2
3
select * from t1 for system_time as of timestamp @ts3;
x
1
2
3
set system_versioning_innodb_algorithm_simple= off;
# MVCC is resolved
select * from t1 for system_time as of transaction @trx_id1;
x