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: stop returning dropped unique columns in DELETE RETURNING #33438

Merged
merged 1 commit into from
Jan 3, 2019

Commits on Jan 2, 2019

  1. sql: stop returning dropped unique columns in DELETE RETURNING

    this change is a followup to fix cockroachdb#32188
    
    unique columns have an index on them. When such a column is dropped,
    a DELETE statement will read a dropped column to correctly drop
    the index on it, but this dropped column is exposed through the
    RETURNING clause. This change stops exposing the column via RETURNING.
    
    fixes cockroachdb#33361
    
    Release note (sql change): fixed problem with returning dropped
    unique columns in DELETE RETURNING statement.
    vivekmenezes committed Jan 2, 2019
    Configuration menu
    Copy the full SHA
    0023c78 View commit details
    Browse the repository at this point in the history