mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
SQL: derived fixes [related to #185]
This commit is contained in:
@@ -47,7 +47,7 @@ as
|
||||
ancestors as a
|
||||
where e.mgr = a.emp_id
|
||||
)
|
||||
select * from ancestors;
|
||||
select * from ancestors for system_time as of now;
|
||||
|
||||
/* Expected 3 rows */
|
||||
with recursive
|
||||
@@ -63,7 +63,7 @@ as
|
||||
ancestors as a
|
||||
where e.mgr = a.emp_id
|
||||
)
|
||||
select * from ancestors for system_time as of timestamp @ts_2;
|
||||
select * from ancestors;
|
||||
|
||||
drop table emp;
|
||||
drop table dept;
|
||||
|
Reference in New Issue
Block a user