aboutsummaryrefslogtreecommitdiff
path: root/src/backup.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-11-11 01:33:57 +0000
committerdrh <drh@noemail.net>2014-11-11 01:33:57 +0000
commit47b7fc784347f2817c7669b245e5c4d65e6a3747 (patch)
tree90ce2dab62bc6f229cfef74c1ed393482f4a141a /src/backup.c
parentde58f4fe7f33438a9d1b41666bb35a578d156885 (diff)
downloadsqlite-47b7fc784347f2817c7669b245e5c4d65e6a3747.tar.gz
sqlite-47b7fc784347f2817c7669b245e5c4d65e6a3747.zip
Experimental changes that permit read operations to continue after a
ROLLBACK, as long as the schema is unchanged. FossilOrigin-Name: fa6e6a9ae276cad60e9a4abc1bc23cf2809ea786
Diffstat (limited to 'src/backup.c')
-rw-r--r--src/backup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backup.c b/src/backup.c
index da4303e5f..57f7f447e 100644
--- a/src/backup.c
+++ b/src/backup.c
@@ -607,7 +607,7 @@ int sqlite3_backup_finish(sqlite3_backup *p){
}
/* If a transaction is still open on the Btree, roll it back. */
- sqlite3BtreeRollback(p->pDest, SQLITE_OK);
+ sqlite3BtreeRollback(p->pDest, SQLITE_OK, 0);
/* Set the error code of the destination database handle. */
rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc;