[MDEV-10080] Derived tables allow double LIMIT clause Created: 2016-05-18 Updated: 2016-05-20 Resolved: 2016-05-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 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-2, 10.2.1-3 | ||||||||
| Description |
|
This script:
returns
Notice, there are two LIMIT clauses, and the first LIMIT clause is obviously ignored. It should return a syntax error. |