Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information