Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
Description
This is similar to MDEV-10051, but for derived tables.
This query:
SELECT * FROM (SELECT 1 FROM t1 LIMIT 1 UNION ALL SELECT 2 FROM t2) AS t2; |
returns
ERROR 1221 (HY000): Incorrect usage of UNION and LIMIT
|
It should return a syntax error instead.
Attachments
Issue Links
- blocks
-
MDEV-8909 union parser cleanup
- Closed