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

diff --git a/NEWS b/NEWS
index 80bbfaae11ba76e59d658a5fd74b44f20adde2ed..287f8c93aac53858fef000759ba13788f2186447 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Jan 2006, PHP 5.1.2
 - Updated libsqlite in ext/sqlite to 2.8.17. (Ilia)
+- Updated libsqlite in ext/pdo_sqlite to 3.2.8. (Ilia)
 - Updated to libxml2-2.6.22 and libxslt-1.1.15 in the win32 bundle. (Rob)
 - Added new extensions: (Ilia, Wez)
   . XMLWriter
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.