-
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
txn: add table name in dup entry error message #38243
Conversation
Signed-off-by: ekexium <eke@fastmail.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: ekexium <eke@fastmail.com>
We should add a test case for unique-index I think. |
Signed-off-by: ekexium <eke@fastmail.com>
Good catch! I missed it. |
Signed-off-by: ekexium <eke@fastmail.com>
c0ddff4
to
89f1d72
Compare
/run-mysql-test tidb-test=pr/1995 |
2 similar comments
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-check_dev_2 |
/run-mysql-test tidb-test=pr/1995 |
4 similar comments
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
/run-check_dev_2 |
/run-check_dev_2 |
@TonsnakeLin @sticnarf Could you help take a look at this and the corresponding mysql-PR? We're gonna merge them together. |
LGTM but the CI seems unhappy... |
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-mysql-test tidb-test=pr/1995 |
/run-mysql-test tidb-test=pr/1995 |
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.
No missing point of setting table name for ErrKeyExists is found. LGTM.
/run-mysql-test tidb-test=pr/1995 |
/run-unit-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: f8c8500
|
Signed-off-by: ekexium eke@fastmail.com
What problem does this PR solve?
Issue Number: close #38242
Problem Summary:
Print table name in error 1042: duplicate entry with the column/index name
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.