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

Parser: syntax for query system_time [closes #230]

Eliminated `QUERY FOR`.
This commit is contained in:
Aleksey Midenkov
2017-07-12 11:24:03 +03:00
parent 60e456df33
commit 91c8b43e77
17 changed files with 56 additions and 73 deletions

View File

@ -45,26 +45,26 @@ where d.dept_id = 10
select * from emp e, dept d
where d.dept_id = 10
and d.dept_id = e.dept_id
query for system_time from timestamp @ts_1 to timestamp @ts_2;
system_time from timestamp @ts_1 to timestamp @ts_2;
select * from emp e, dept d
where d.dept_id = 10
and d.dept_id = e.dept_id
query for system_time as of timestamp @ts_0;
system_time as of timestamp @ts_0;
select * from emp e, dept d
where d.dept_id = 10
and d.dept_id = e.dept_id
query for system_time as of timestamp @ts_1;
system_time as of timestamp @ts_1;
select * from emp e, dept d
where d.dept_id = 10
and d.dept_id = e.dept_id
query for system_time as of timestamp @ts_2;
system_time as of timestamp @ts_2;
select * from emp e, dept d
where d.dept_id = 10
and d.dept_id = e.dept_id
query for system_time as of timestamp @ts_3;
system_time as of timestamp @ts_3;
drop table emp, dept;