-
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
planner: refactor the code of buildUpdate to solve some bugs #13208
Conversation
1cf8724
to
ae7b8a0
Compare
Codecov Report
@@ Coverage Diff @@
## master #13208 +/- ##
===========================================
Coverage 80.2349% 80.2349%
===========================================
Files 469 469
Lines 112390 112390
===========================================
Hits 90176 90176
Misses 15264 15264
Partials 6950 6950 |
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 |
@winoros merge failed. |
/run-common-test tidb-test=pr/943 |
/run-all-tests tidb-test=pr/943 |
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
cherry pick to release-2.1 failed |
What problem does this PR solve?
fix #13201 and fix #13202
What is changed and how it works?
Before entering
buildUpdateLists
, the passed argupdateTableList
already used theAsName
directly generated from ast.We don't need to get the
AsName
from the created plan.Also
extractTableList
didn't reset theDBName
when use theAsName
to set theName
.Check List
Tests
Related changes
Release note