The following script causes a crash:
<verbatim>
CREATE VIRTUAL TABLE f1 USING fts3;
BEGIN;
INSERT INTO f1 VALUES('a b c');
DROP TABLE f1;
SAVEPOINT one;
</verbatim>
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.
<hr><i>dan added on 2011-10-29 11:46:05:</i><br>
Fixed here: [3565fcf898].
<hr><i>dan added on 2011-10-29 11:54:59:</i><br>
First appeared in version 3.7.7.
|