-
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
sessionctx: fix a bug where update stmt not considered when clipping negative num to 0 (#19605) #19772
sessionctx: fix a bug where update stmt not considered when clipping negative num to 0 (#19605) #19772
Conversation
Signed-off-by: ti-srebot <[email protected]>
/run-all-tests |
@time-and-fate please accept the invitation then you can push to the cherry-pick pull requests. |
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
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry-pick #19605 to release-3.0
What problem does this PR solve?
Issue Number: close #13150
Problem Summary:
Update stmt is not considered in
ShouldClipToZero()
, which would cause the check is bypassed when trying to set an unsigned field to a negative number.Check List
Tests
Release note