Aleksey Midenkov
4624e565f3
System Versioning 1.0 pre6
...
Merge remote-tracking branch 'mariadb/bb-10.3-temporal-serg' into trunk
2017-12-15 18:12:18 +03:00
Aleksey Midenkov
2e3b580ba4
SQL: inner/outer system_time consistency [ fixes #384 ]
2017-12-14 13:43:37 +03:00
Sergei Golubchik
ca6454bcfe
for now, remove FOR SYSTEM_TIME at the end of the query
...
non-standard, redundant, potentially risky in the future,
hides bugs. See #383 , #384 , #385
Fixed a parser bug where
SELECT * FROM (t1 join t2) FOR SYSTEM_TIME ...
was not an error.
2017-12-13 21:51:20 +01:00
Aleksey Midenkov
8e8363bb75
SQL: VIEW system fields propagation removed [ fixes #393 ]
2017-12-13 18:23:32 +03:00
Aleksey Midenkov
a0e137c4a9
SQL: RIGHT JOIN in derived [ fix #383 ]
2017-12-12 20:39:44 +03:00
Eugene Kosov
9c718de2ed
Tests: versioning.derived fix for buildbot
2017-12-12 01:04:07 +03:00
Aleksey Midenkov
84b718ae70
SQL: derived SYSTEM_TIME clash detection [ closes #371 ]
2017-12-08 16:26:17 +03:00
Sergei Golubchik
ea1ccfa500
SQL: regression fix: make NOW a valid identifier again [ #363 ]
...
* again, as in 10.2, NOW is a keyword only if followed by parentheses
* use AS OF CURRENT_TIMESTAMP or AS OF NOW()
* AS OF CURRENT_TIMESTAMP and AS OF NOW() mean AS OF NOW(6),
not AS OF NOW(0), (same behavior as in a DEFAULT clause)
2017-12-08 16:24:56 +03:00
Sergei Golubchik
3198bc839d
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 ...
2017-12-05 15:09:09 +03:00
Aleksey Midenkov
aa292666cc
Parser: moved 'for system_time' before alias
...
Due to standard (see 7.6 <table reference>).
2017-07-23 17:08:00 +03:00
Aleksey Midenkov
91c8b43e77
Parser: syntax for query system_time [ closes #230 ]
...
Eliminated `QUERY FOR`.
2017-07-12 12:10:13 +03:00
Aleksey Midenkov
60e456df33
SQL: system_time propagation from derived table [ fixes #228 ]
2017-07-12 10:36:52 +03:00
Aleksey Midenkov
7153ff85a1
SQL: derived tables improvements [ closes #185 ]
2017-05-05 20:36:38 +03:00