mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Updated libsqlite in ext/sqlite to 2.8.17.
Use in-memory database for tests.
This commit is contained in:
parent
5961160f95
commit
61c9b22536
9 changed files with 13 additions and 34 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue