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

sql: Fix bug preventing renaming of primary key columns #10018

Merged
merged 1 commit into from Oct 17, 2016

Conversation

a-robinson
Copy link
Contributor

@a-robinson a-robinson commented Oct 17, 2016

It looks like this has been broken since RENAME COLUMN was first introduced back in #2158.

It's possible that this should just be replaced by desc.AllNonDropIndexes(), but I'm not confident whether the behavior difference in the handling of Mutations between that and the current code is significant. Thoughts?

Fixes #9987

@paperstreet because he was unfortunate enough to be the last person to move this code around


This change is Reviewable

@knz
Copy link
Contributor

knz commented Oct 17, 2016

:lgtm:


Review status: 0 of 2 files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@a-robinson
Copy link
Contributor Author

Closing and reopening to try to un-wedge teamcity

@a-robinson a-robinson closed this Oct 17, 2016
@a-robinson a-robinson reopened this Oct 17, 2016
@knz
Copy link
Contributor

knz commented Oct 17, 2016

here you are, good to merge

@a-robinson a-robinson merged commit 81cbc4e into cockroachdb:master Oct 17, 2016
@a-robinson a-robinson deleted the pkerr branch January 6, 2017 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants