mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
MFB51: Updated libsqlite in ext/pdo_sqlite to 3.2.8.
This commit is contained in:
parent
d508cfee49
commit
81d4a41dfb
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
3.2.7
|
3.2.8
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue