]> granicus.if.org Git - php/commitdiff
MFB51: Updated libsqlite in ext/pdo_sqlite to 3.2.8.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 20 Dec 2005 15:33:19 +0000 (15:33 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 20 Dec 2005 15:33:19 +0000 (15:33 +0000)
ext/pdo_sqlite/sqlite/VERSION
ext/pdo_sqlite/sqlite/src/pager.c

index 406ebcbd95f04b8562402f9a4a43e04e816086e4..f092941a7507b14945f0493bb5c81bd2de4afb49 100644 (file)
@@ -1 +1 @@
-3.2.7
+3.2.8
index 1edfbb4e7e1fcc28d5a48483375d84b400b3ef87..f06d3fec6c47c4acb0d1c5fc55b7fcbb74a26985 100644 (file)
@@ -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.