1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-15004 parser greedily parses AS OF TIMESTAMP

* TIMESTAMP precedence fixed.
This commit is contained in:
Aleksey Midenkov
2018-02-16 19:07:32 +01:00
committed by Sergei Golubchik
parent e2f70d6e10
commit f1bd02d994
11 changed files with 63 additions and 31 deletions

View File

@@ -273,7 +273,7 @@ a b
select * from (select * from (select * from t1 cross join t2) as tmp1) as tmp2;
a b
1 2
select * from (select * from t1 cross join t2 for system_time as of timestamp '0-0-0') as tmp;
select * from (select * from t1 cross join t2 for system_time as of timestamp ('0-0-0')) as tmp;
a b
create or replace table t1(a1 int) with system versioning;
create or replace table t2(a2 int) with system versioning;