1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Do not invoke the xRollbackTo or xRelease methods of a virtual table without

having first invoked an appropriate xSavepoint method.  Add assert() statements
to FTS3/4 to verify that this is happening in all cases.

FossilOrigin-Name: 651ef24249d8c22c4f13e4c0bb98a60099cfd23a
This commit is contained in:
drh
2011-05-24 15:36:01 +00:00
parent a24bc9ced3
commit e485522462
6 changed files with 76 additions and 17 deletions

View File

@@ -1235,6 +1235,7 @@ struct VTable {
sqlite3_vtab *pVtab; /* Pointer to vtab instance */
int nRef; /* Number of pointers to this structure */
u8 bConstraint; /* True if constraints are supported */
u8 bInSavepoint; /* True if within a SAVEPOINT */
VTable *pNext; /* Next in linked list (see above) */
};