[MDEV-30151] parse error 1=2 not between/in Created: 2022-12-04 Updated: 2023-02-06 Resolved: 2023-01-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.11.2, 10.3.39, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Both of the above fail with a syntax error:
A view gets created, but fails afterwards:
The .frm contains
SELECT itself works:
The errors started happening after this commit in 10.2.35:
|
| Comments |
| Comment by Sergei Golubchik [ 2022-12-04 ] | ||
|
this fails too:
| ||
| Comment by Alexander Barkov [ 2022-12-13 ] | ||
|
serg, please review an alternative patch fixing the problem without adding new shift/reduce conflicts (and even reducing the number of conflicts): https://github.com/MariaDB/server/commit/4ddf606debf84bf7539eee8fef06ac47ab39677a | ||
| Comment by Alexander Barkov [ 2023-01-25 ] | ||
|
serg, please see an incremental patch testing your review suggestions here: Thanks. | ||
| Comment by Sergei Golubchik [ 2023-01-25 ] | ||
|
dacb40a8b9^ + dacb40a8b9 are ok to push | ||
| Comment by Alexander Barkov [ 2023-01-26 ] | ||
|
squashing, rebasing. |