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
ddl: use original column name in duplicate column error #9291
Conversation
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.
Thanks for your contirbution.
I was wondering if you could add some unit test to avoid this error next time?
Codecov Report
@@ Coverage Diff @@
## master #9291 +/- ##
==========================================
+ Coverage 67.16% 67.16% +<.01%
==========================================
Files 371 371
Lines 77505 77505
==========================================
+ Hits 52057 52058 +1
+ Misses 20794 20793 -1
Partials 4654 4654
Continue to review full report at Codecov.
|
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.
Please add some UT to cover this bug.
i fixed before:(if column name includes bigcase character as
after: fixed
|
/rebuild |
LGTM |
/run-all-tests |
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
@u5surf Please cherry pick this commit to release 2.1 and release 2.0 branches. |
What problem does this PR solve?
fix #9285
What is changed and how it works?
Check List
OK, I checked following
https://github.com/pingcap/tidb/blob/master/CONTRIBUTING.md#run-test
What is integration tests ? and how can I ?
Code changes
no
no
no
no
Side effects
probably no
no
no
Related changes
nothing
nothing
tidb-ansible
repository?
probably nothing??