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:45 +00:00
parent cf2e00bb39
commit d508cfee49
8 changed files with 12 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.