summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite/src
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-12-20 15:33:03 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-12-20 15:33:03 +0000
commit3450841dbef749545ed5ee2307427674f9a93f31 (patch)
tree694691f9374a8f40ee4c02b38f996181bfd5ecb3 /ext/pdo_sqlite/sqlite/src
parent61c9b22536b74a47211136f73e0d1035fd869999 (diff)
downloadphp-git-3450841dbef749545ed5ee2307427674f9a93f31.tar.gz
Updated libsqlite in ext/pdo_sqlite to 3.2.8.
Diffstat (limited to 'ext/pdo_sqlite/sqlite/src')
-rw-r--r--ext/pdo_sqlite/sqlite/src/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/sqlite/src/pager.c b/ext/pdo_sqlite/sqlite/src/pager.c
index 1edfbb4e7e..f06d3fec6c 100644
--- a/ext/pdo_sqlite/sqlite/src/pager.c
+++ b/ext/pdo_sqlite/sqlite/src/pager.c
@@ -2981,7 +2981,7 @@ void sqlite3pager_dont_write(Pager *pPager, Pgno pgno){
pPg = pager_lookup(pPager, pgno);
pPg->alwaysRollback = 1;
- if( pPg && pPg->dirty ){
+ if( pPg && pPg->dirty && !pPager->stmtInUse ){
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.