-
Notifications
You must be signed in to change notification settings - Fork 3.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
release-20.2: sql: fix FK check bug in ALTER COLUMN TYPE #71167
release-20.2: sql: fix FK check bug in ALTER COLUMN TYPE #71167
Conversation
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
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.
Looks fine, re-running CI
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.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @postamar)
2a97bc1
to
f4376db
Compare
This commit fixes an implementation bug when checking that the table's foreign keys didn't hold a reference to the altered column. Fixes cockroachdb#71089. Release justification: simple fix for blatant correctness bug Release note (bug fix): fixes a bug which caused ALTER COLUMN TYPE statements to fail when they shouldn't have.
f4376db
to
d05034e
Compare
Backport 1/1 commits from #71097.
/cc @cockroachdb/release
This commit fixes an implementation bug when checking that the table's
foreign keys didn't hold a reference to the altered column.
Fixes #71089.
Release justification: simple fix for blatant correctness bug
Release note (bug fix): fixes a bug which caused ALTER COLUMN TYPE
statements to fail when they shouldn't have.