MFB51: Updated libsqlite in ext/pdo_sqlite to 3.2.8.

This commit is contained in:
Ilia Alshanetsky 2005-12-20 15:33:19 +00:00
parent d508cfee49
commit 81d4a41dfb
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
3.2.7 3.2.8

View file

@ -2981,7 +2981,7 @@ void sqlite3pager_dont_write(Pager *pPager, Pgno pgno){
pPg = pager_lookup(pPager, pgno); pPg = pager_lookup(pPager, pgno);
pPg->alwaysRollback = 1; pPg->alwaysRollback = 1;
if( pPg && pPg->dirty ){ if( pPg && pPg->dirty && !pPager->stmtInUse ){
if( pPager->dbSize==(int)pPg->pgno && pPager->origDbSize<pPager->dbSize ){ 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 /* 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. ** during the current transaction, then do NOT mark the page as clean.