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

Parser: unreserve keywords

SELECT * FROM t1 FOR SYSTEM_TIME AS OF ...

becomes ambiguous, but it's the same as with

SELECT ... UNION SELECT ... ORDER BY ...
This commit is contained in:
Sergei Golubchik
2017-11-28 16:38:58 +01:00
committed by Aleksey Midenkov
parent 6ac773421f
commit 3198bc839d
13 changed files with 74 additions and 74 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
system_time from timestamp @ts_1 to timestamp @ts_2;
for 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
system_time as of timestamp @ts_0;
for 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
system_time as of timestamp @ts_1;
for 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
system_time as of timestamp @ts_2;
for 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
system_time as of timestamp @ts_3;
for system_time as of timestamp @ts_3;
drop table emp, dept;