Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
-
None
-
10.2.1-1, 10.2.1-2
Description
Queries like this:
SELECT EXISTS (SELECT * FROM t1 LIMIT 1 UNION ALL SELECT * FROM t2); |
return
ERROR 1221 (HY000): Incorrect usage of UNION and LIMIT
|
We'll fix the grammar in sql_yacc.yy to return a syntax error instead.
Attachments
Issue Links
- blocks
-
MDEV-8909 union parser cleanup
- Closed