[MDEV-25430] ROW | ROWS should be a required keyword after OFFSET start Created: 2021-04-16 Updated: 2021-04-24 Resolved: 2021-04-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer, Parser |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.6.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Both the standard and
It doesn't work in MariaDB, ROW|ROWS after OFFSET start is rejected:
And it works without ROW[S]:
In PostreSQL 13 it works both with and without ROWS:
Maybe it's intentional, but then it needs to be documented as a deviation from the standard (a limitation, not an extension). |
| Comments |
| Comment by Vicențiu Ciorbaru [ 2021-04-16 ] |
|
Patch pused to bb-10.6-refactor-limit-review, following standard with required ROW | ROWS after OFFSET. |