diff options
author | drh <drh@noemail.net> | 2015-02-21 15:13:50 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-02-21 15:13:50 +0000 |
commit | 878acb32efa879e0b680cce08f63e65f89fa4f77 (patch) | |
tree | 84f334c6f75c248e10f9a92c17e3dae631f2c597 /src/backup.c | |
parent | 1ee4a2dd88663517c8dd980926af9e76f37c88fb (diff) | |
parent | 2da47d38691b74a6cfa2ce2e5bdce3bb7d8fc186 (diff) | |
download | sqlite-878acb32efa879e0b680cce08f63e65f89fa4f77.tar.gz sqlite-878acb32efa879e0b680cce08f63e65f89fa4f77.zip |
Merge all recent trunk changes into the sessions branch.
FossilOrigin-Name: f36bb5fa5c5e3430808fe35d58f45559a216d341
Diffstat (limited to 'src/backup.c')
-rw-r--r-- | src/backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backup.c b/src/backup.c index e3f869035..81c8b5c5f 100644 --- a/src/backup.c +++ b/src/backup.c @@ -247,7 +247,7 @@ static int backupOnePage( ** guaranteed that the shared-mutex is held by this thread, handle ** p->pSrc may not actually be the owner. */ int nSrcReserve = sqlite3BtreeGetReserveNoMutex(p->pSrc); - int nDestReserve = sqlite3BtreeGetReserve(p->pDest); + int nDestReserve = sqlite3BtreeGetOptimalReserve(p->pDest); #endif int rc = SQLITE_OK; i64 iOff; |