Ticket Hash: | 1c24a659e6d7f3a1b2289bf229ff8e9a1e463f90 | |||
Title: | DROP COLUMN leaves behind an index | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Important | Priority: | High | |
Subsystem: | Code_Generator | Resolution: | Fixed | |
Last Modified: | 2021-03-15 14:58:51 | |||
Version Found In: | 3.35.0 | |||
User Comments: | ||||
drh added on 2021-03-14 01:20:48:
The DROP COLUMN statement below works, even though the column is indexed:
Subsequently reopening the database and running "PRAGMA integrity_check" reports index corruption. The "index corruption" problem can be resolved by dropping the (now superfluous) index, so this is perhaps not a serious concern, but it does need to be fixed. The problem was reported by Forum post e37dcf456a. It is perhaps related to ticket [9b78184be266fd70]. drh added on 2021-03-14 12:01:09: A slightly different example of this problem that is not resolved by check-in 7c8aa3812599d58a.
|