Updated libsqlite in ext/sqlite to 2.8.17.

Use in-memory database for tests.
This commit is contained in:
Ilia Alshanetsky 2005-12-20 15:26:26 +00:00
parent 5961160f95
commit 61c9b22536
9 changed files with 13 additions and 34 deletions

View file

@ -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.