[MDEV-26878] Query failing with syntax error sets ROW_NUMBER to non-zero Created: 2021-10-21 Updated: 2022-01-26 Resolved: 2022-01-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.7 |
| Fix Version/s: | 10.7.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Rucha Deodhar |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
It appears in some cases it can even be greater than 1, although I don't have a test case for this. |
| Comments |
| Comment by Rucha Deodhar [ 2022-01-05 ] |
|
Patch: https://github.com/MariaDB/server/commit/7a746072a5ede3e5693809dbb98867cef4231693 |
| Comment by Rucha Deodhar [ 2022-01-26 ] |
|
After discussing with serg came to conclusion that it is not a bug because rows stars after VALUES. So ROW_NUMBER =1 is ok here |