phpmyadmin / phpmyadmin/sql-parser
Unrecognized keyword and Unrecognized alter operation
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 485
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
CHECK TABLE `table` FOR UPGRADE; will give two errors.
- Unrecognized keyword. (near
FOR) - Unrecognized keyword. (near
UPGRADE)
ALTER TABLE `table` FORCE; will give one error.
- Unrecognized alter operation. (near
;)
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
Reproduce CHECK TABLE table FOR UPGRADE and ALTER TABLE table FORCE in the SQL parser, then trace where the reported keyword and alter-operation errors are generated. Done means these valid MySQL statements no longer produce the reported unrecognized-token errors, with regression coverage for both examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- databases, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100