-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
executor: fix overflow error message of update
#8457
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
@exialin Thanks for your contribution. |
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
/run-all-tests |
@XuHuaiyu PTAL |
/run-all-tests |
@exialin could you please cherry-pick this commit to the release-2.1 and release-2.0 branch? |
@zz-jason Sure. But release-2.0 does not have |
@exialin OK |
What problem does this PR solve?
Fix #8119 to make TiDB consistent with MySQL when updated value overflows.
However, the row number showed by the error message is trivial, as discussed in that issue.
What is changed and how it works?
Check error type in
handleErr
.Check List
Tests
This change is