phpmyadmin / phpmyadmin/phpmyadmin
[simulation] For Insert, Where clause: IS NULL returns no results
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 7.9k
- Forks
- 3.6k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 36
Description
5.1.1
Simulating a SQL query: UPDATE `orders_status_history` SET `comments`='' WHERE `comments` IS NULL;
When typing, "IS NULL" is not suggested in a popup, the simulation is not flagged as incorrect but the result is (incorrectly) no rows.
While this may not be a bug I find no reference to explain it.
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
Start by reproducing the UPDATE query in phpMyAdmin's simulation interface, checking both the IS NULL suggestion and the reported zero-row result. Trace the simulation path for WHERE clauses and compare its handling of NULL with the actual MySQL or MariaDB query; done means the simulation reports the correct result and handles IS NULL consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100