[MDEV-17677] Keywords are parsed as identifiers when followed by a dot Created: 2018-11-12 Updated: 2018-12-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Keywords immediately followed by a dot character are parsed as identifiers. So, e.g., this generates a syntax error:
This does not conform to the SQL standard. It should be normally parsed as equivalent to:
Note, other databases do understand this syntax:
|