1
0
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:
danielk1977
2004-06-10 04:32:16 +00:00
parent 466be56bcf
commit a3f3a5f3d2
5 changed files with 24 additions and 21 deletions

View File

@@ -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