-
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
tables: make duplicate error in update clearer #7495
Conversation
Please fix CI @winkyao . |
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
/run-all-tests |
/run-all-tests |
Please fix the CI. |
/run-common-test -tidb-test=pr/612 |
/run-integration-common-test -tidb-test=pr/612 |
What problem does this PR solve?
Before this pr, we return
ERROR 1062 (23000): key already exist
when update statement meets duplicate key. In MySQL:ERROR 1062 (23000): Duplicate entry '1-2-4' for key 'PRIMARY'
is clearer.Tests