mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
MFB51:
Updated libsqlite in ext/sqlite to 2.8.17. Use in-memory database for tests.
This commit is contained in:
parent
cf2e00bb39
commit
d508cfee49
8 changed files with 12 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