mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
When in PAGER_RESERVED state, don't write to the main file when rolling
back a statement transaction. (CVS 1560) FossilOrigin-Name: adb2bd61436927d37b23bae857089d62e12397af
This commit is contained in:
@@ -1162,6 +1162,7 @@ int sqlite3VdbeReset(Vdbe *p, char **pzErrMsg){
|
||||
db->autoCommit = 1;
|
||||
}
|
||||
}
|
||||
p->autoCommitOn = 0;
|
||||
|
||||
/* If xFunc is not NULL, then it is one of sqlite3BtreeRollback,
|
||||
** sqlite3BtreeRollbackStmt or sqlite3BtreeCommitStmt. Call it once on
|
||||
|
||||
Reference in New Issue
Block a user