mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-18689 Simple query with extra brackets stopped working
Parenthesis around table names and derived tables should be allowed in FROM clauses and some other context as it was in earlier versions. Returned test queries that used such parenthesis in 10.3 to their original form. Adjusted test results accordingly.
This commit is contained in:
@@ -4325,14 +4325,10 @@ SELECT * FROM t1 JOIN (t1 t1a) t1a ON 1;
|
||||
--error ER_PARSE_ERROR
|
||||
SELECT * FROM t1 JOIN ((t1 t1a)) t1a ON 1;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
SELECT * FROM t1 JOIN (t1 t1a) ON 1;
|
||||
--error ER_PARSE_ERROR
|
||||
SELECT * FROM t1 JOIN ((t1 t1a)) ON 1;
|
||||
|
||||
--error ER_PARSE_ERROR
|
||||
SELECT * FROM (t1 t1a);
|
||||
--error ER_PARSE_ERROR
|
||||
SELECT * FROM ((t1 t1a));
|
||||
|
||||
SELECT * FROM t1 JOIN (SELECT 1 t1a) alias ON 1;
|
||||
|
Reference in New Issue
Block a user