diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 15:26:45 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 15:26:45 +0000 |
commit | d508cfee49746c1e2ef89ee72eaf4890661712ac (patch) | |
tree | 4be59106c1796789d25995d5c69515e3e7552b62 /ext/sqlite/libsqlite/src/pager.c | |
parent | cf2e00bb39fc3156b494897a22363aec202fdd01 (diff) | |
download | php-git-d508cfee49746c1e2ef89ee72eaf4890661712ac.tar.gz |
MFB51:
Updated libsqlite in ext/sqlite to 2.8.17.
Use in-memory database for tests.
Diffstat (limited to 'ext/sqlite/libsqlite/src/pager.c')
-rw-r--r-- | ext/sqlite/libsqlite/src/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sqlite/libsqlite/src/pager.c b/ext/sqlite/libsqlite/src/pager.c index 23d3fb8009..278a99f604 100644 --- a/ext/sqlite/libsqlite/src/pager.c +++ b/ext/sqlite/libsqlite/src/pager.c @@ -1929,7 +1929,7 @@ void sqlitepager_dont_write(Pager *pPager, Pgno pgno){ pPg = pager_lookup(pPager, pgno); pPg->alwaysRollback = 1; - if( pPg && pPg->dirty ){ + if( pPg && pPg->dirty && !pPager->ckptInUse ){ if( pPager->dbSize==(int)pPg->pgno && pPager->origDbSize<pPager->dbSize ){ /* If this pages is the last page in the file and the file has grown ** during the current transaction, then do NOT mark the page as clean. |