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

Fix covering index error when alter-primary-key is enabled (#1639) #1640

Merged

Conversation

ti-srebot
Copy link
Collaborator

cherry-pick #1639 to release-2.3


What problem does this PR solve?

Fix a possible covering index error when alter-primary-key feature is enabled in TiDB.

When this feature is enabled, the primary key could be both of integer type and not a handle, which violets the check in covering index.

Check List

Tests

  • Manual test
    Modify the plan to use covering index and turn on alter-primary-key.

Related changes

  • Need to cherry-pick to the release branch
  • Need to be included in the release note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants