phpmyadmin / phpmyadmin/sql-parser
Error when setting system variable to `ON`
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 485
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
ON gets mistaken for a keyword here.
There should be no error, the query works.
MariaDB 11.4.4
sql-parser 5.10 & master
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by reproducing the MariaDB 11.4.4 query in sql-parser, then trace how ON is classified by the lexer or parser. Done means the query parses without an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mariadb, php, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100