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

SQL: NATURAL LEFT JOIN for versioned tables [fixes #156]

This commit is contained in:
kevg
2017-03-15 16:32:44 +03:00
committed by Aleksey Midenkov
parent 5a08bd3515
commit fb0b3e5902
3 changed files with 23 additions and 4 deletions

View File

@ -175,6 +175,12 @@ select * from (select * from t1 cross join t2) as tmp;
select * from (select * from (select * from t1 cross join t2) as tmp1) as tmp2;
select * from (select * from t1 cross join t2 for system_time as of timestamp '0-0-0') as tmp;
create or replace table t1(a1 int) with system versioning;
create or replace table t2(a2 int) with system versioning;
insert into t1 values(1),(2);
insert into t2 values(1),(2);
select * from t1 for system_time all natural left join t2 for system_time all;
drop table t1, t2;
call verify_vtq;