[MDEV-23036] Keywords are parsed as identifiers in some context Created: 2020-06-29 Updated: 2020-06-29 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In some cases, the parser treats keywords as identifiers near a dot character. Moreover, the behaviour depends on the presense of a space character between the dot and the identifier.
Wrong. Should get a syntax error.
Correct. Notice, the space after the dot.
Wrong. Should get a syntax error.
Wrong. Should get a syntax error.
Correct. Notice, the space after the dot.
Correct. Notice the space before the dot. |