diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-08-27 15:16:33 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-08-27 15:16:33 +0000 |
commit | a1fa00d95f52e85fad2d5ba633a10d1ba8930f09 (patch) | |
tree | bec7fad1d68c5b3c5ba277f7c7462c1c5af17558 /src/btree.c | |
parent | e5767a33e5e043cf9be87f93f449c7e4600b3f31 (diff) | |
download | sqlite-a1fa00d95f52e85fad2d5ba633a10d1ba8930f09.tar.gz sqlite-a1fa00d95f52e85fad2d5ba633a10d1ba8930f09.zip |
Use a bitvec object to store the set of pages with the 'always-rollback' property for a transaction. (CVS 5622)
FossilOrigin-Name: 9e9325997e11a0368721ed7860f4c37de3502a9b
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/btree.c b/src/btree.c index 45184c422..e4eff2181 100644 --- a/src/btree.c +++ b/src/btree.c @@ -9,7 +9,7 @@ ** May you share freely, never taking more than you give. ** ************************************************************************* -** $Id: btree.c,v 1.503 2008/08/25 11:57:17 danielk1977 Exp $ +** $Id: btree.c,v 1.504 2008/08/27 15:16:34 danielk1977 Exp $ ** ** This file implements a external (disk-based) database using BTrees. ** See the header comment on "btreeInt.h" for additional information. @@ -4347,7 +4347,7 @@ static int freePage(MemPage *pPage){ put4byte(&pTrunk->aData[4], k+1); put4byte(&pTrunk->aData[8+k*4], pPage->pgno); #ifndef SQLITE_SECURE_DELETE - sqlite3PagerDontWrite(pPage->pDbPage); + rc = sqlite3PagerDontWrite(pPage->pDbPage); #endif } TRACE(("FREE-PAGE: %d leaf on trunk page %d\n",pPage->pgno,pTrunk->pgno)); @@ -7039,7 +7039,7 @@ static int btreeCopyFile(Btree *pTo, Btree *pFrom){ ** page is still on the rollback journal, though. And that is the ** whole point of this block: to put pages on the rollback journal. */ - sqlite3PagerDontWrite(pDbPage); + rc = sqlite3PagerDontWrite(pDbPage); } sqlite3PagerUnref(pDbPage); } |