Skip to content
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: Fix Error message about select ... inner join is not same with MYSQL.(#9573) #9626

Merged
merged 2 commits into from Mar 10, 2019

Conversation

AndrewDi
Copy link
Contributor

What problem does this PR solve?

Fix issue #9573

What is changed and how it works?

When check join ErrNonUniqTable, we should check both tablesource name and table alias.

Check List

Tests

  • Unit test

@AndrewDi
Copy link
Contributor Author

@xiekeyi98 PTAL

@codecov
Copy link

codecov bot commented Mar 10, 2019

Codecov Report

Merging #9626 into master will increase coverage by 0.0092%.
The diff coverage is 100%.

@@               Coverage Diff                @@
##             master      #9626        +/-   ##
================================================
+ Coverage   67.3963%   67.4055%   +0.0092%     
================================================
  Files           374        374                
  Lines         78942      78949         +7     
================================================
+ Hits          53204      53216        +12     
+ Misses        20986      20985         -1     
+ Partials       4752       4748         -4

@AndrewDi
Copy link
Contributor Author

/run-all-tests

@zz-jason
Copy link
Member

LGTM

@zz-jason zz-jason added contribution This PR is from a community contributor. sig/planner SIG: Planner status/all tests passed status/LGT1 Indicates that a PR has LGTM 1. labels Mar 10, 2019
Copy link
Contributor

@xiekeyi98 xiekeyi98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,Thank you.

@xiekeyi98 xiekeyi98 merged commit 3045359 into pingcap:master Mar 10, 2019
@AndrewDi AndrewDi deleted the fix_join_error_msg branch March 11, 2019 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. sig/planner SIG: Planner status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants