-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
Version
master
What's Wrong?
Where clause is not reanalyzed after rewrite
MySQL [test]> UPDATE test_update_bigint_tb SET v1=-1, v2=-1, v3=-1, v4=-1 WHERE k1 is not null or k1 is null;
ERROR 1105 (HY000): errCode = 2, detailMessage = Where clause is not a valid statement return bool
What You Expected?
update success
How to Reproduce?
update table set v = 1 WHERE k1 is not null or k1 is null;
Anything Else?
this bug was intruduced by #11414
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels