Ticket Hash: | 48f299634acb013ba05730b8d86bb029fc4372f2 | |||
Title: | Crash in SAVEPOINT within a transaction that writes to then drops an FTS table | |||
Status: | Closed | Type: | Code_Defect | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Virtual_Machine | Resolution: | Fixed | |
Last Modified: | 2011-10-29 11:54:59 | |||
Version Found In: | 3.7.8 | |||
Description: | ||||
The following script causes a crash:
CREATE VIRTUAL TABLE f1 USING fts3; BEGIN; INSERT INTO f1 VALUES('a b c'); DROP TABLE f1; SAVEPOINT one; This is not an FTS specific problem. It can occur using any virtual table implementation that sets sqlite3_module.iVersion>=2 (i.e. one that requires callbacks for SAVEPOINT, ROLLBACK TO and RELEASE commands). To reproduce this, the user must open a transaction, write to the virtual table and then DROP it. Thereafter, any SAVEPOINT, ROLLBACK TO or RELEASE command within the transaction that is not a no-op will cause a crash. dan added on 2011-10-29 11:46:05: dan added on 2011-10-29 11:54:59: |