-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expression: fix incorrect result of logical operators #12173
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12173 +/- ##
================================================
- Coverage 79.9183% 79.8717% -0.0467%
================================================
Files 462 462
Lines 104892 105101 +209
================================================
+ Hits 83828 83946 +118
- Misses 14910 14990 +80
- Partials 6154 6165 +11 |
@sduzh should we directly modify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, your PR looks really awesome. It would be better to take another look at other logical functions (https://dev.mysql.com/doc/refman/8.0/en/logical-operators.html), and fix them together.
Thanks again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Your auto merge job has been accepted, waiting for 12558, 12564, 12551, 12552, 12553 |
/run-all-tests |
@sduzh merge failed. |
…upstream-release-3.0
…upstream-release-3.0
…upstream-release-3.1
…upstream-release-3.0
…upstream-release-3.0
…upstream-release-2.1
…upstream-release-3.1
What problem does this PR solve?
Fix #11199
Fix #11188
What is changed and how it works?
Wrap the input parameters of the builtin
AND
、OR
andXOR
operators withIS TRUE
function before cast them toint
type.Check List
Tests
Code changes
Side effects
Related changes
Release note