diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 15:33:19 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-12-20 15:33:19 +0000 |
commit | 81d4a41dfb2014c71cd3496a8d0d0a273b7d4560 (patch) | |
tree | f5975eed2f2a0c71cc2fab09f053691d11b33c08 /ext/pdo_sqlite/sqlite/src | |
parent | d508cfee49746c1e2ef89ee72eaf4890661712ac (diff) | |
download | php-git-81d4a41dfb2014c71cd3496a8d0d0a273b7d4560.tar.gz |
MFB51: Updated libsqlite in ext/pdo_sqlite to 3.2.8.
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src')
-rw-r--r-- | ext/pdo_sqlite/sqlite/src/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/pager.c b/ext/pdo_sqlite/sqlite/src/pager.c index 1edfbb4e7e..f06d3fec6c 100644 --- a/ext/pdo_sqlite/sqlite/src/pager.c +++ b/ext/pdo_sqlite/sqlite/src/pager.c @@ -2981,7 +2981,7 @@ void sqlite3pager_dont_write(Pager *pPager, Pgno pgno){ pPg = pager_lookup(pPager, pgno); pPg->alwaysRollback = 1; - if( pPg && pPg->dirty ){ + if( pPg && pPg->dirty && !pPager->stmtInUse ){ 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. |