txn: add table name in dup entry error message#38243
txn: add table name in dup entry error message#38243sticnarf merged 10 commits intopingcap:masterfrom
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. DetailsReviewer 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... |
|
/run-mysql-test tidb-test=pr/1995 |
|
/run-mysql-test tidb-test=pr/1995 |
TonsnakeLin
left a comment
There was a problem hiding this comment.
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. DetailsCommit 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.