[MDEV-10051] Fix subselect to return a syntax error instead of "Incorrect usage of UNION and LIMIT" Created: 2016-05-10 Updated: 2016-05-23 Resolved: 2016-05-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2 |
| Fix Version/s: | 10.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.1-1, 10.2.1-2 | ||||||||
| Description |
|
Queries like this:
return
We'll fix the grammar in sql_yacc.yy to return a syntax error instead. |