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:
@ -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;
|
||||
|
Reference in New Issue
Block a user