From: drh Date: Mon, 3 Sep 2007 17:09:03 +0000 (+0000) Subject: Fix the open file counter on windows. (CVS 4382) X-Git-Tag: version-3.5.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af5f04058961b477ff023ce3376065c3fb34f8e6;p=thirdparty%2Fsqlite.git Fix the open file counter on windows. (CVS 4382) FossilOrigin-Name: 40cf0c177635c087b7695a8c4c3b37da57f74425 --- diff --git a/manifest b/manifest index b3e068ba0f..3dc4d1142a 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Get\sthe\sio.test\stests\sworking\son\swindows.\s(CVS\s4381) -D 2007-09-03T17:02:50 +C Fix\sthe\sopen\sfile\scounter\son\swindows.\s(CVS\s4382) +D 2007-09-03T17:09:03 F Makefile.in f3460f3363dd568c950a62f93e97eb19f6d069d8 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -118,7 +118,7 @@ F src/os_test.c 49833426101f99aee4bb5f6a44b7c4b2029fda1c F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3 F src/os_unix.c 75521336c950555fae26288b61a3091fd6b0c367 F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e -F src/os_win.c c077b821e010c09ce6314f78b1f6f21cdb2141ff +F src/os_win.c d8909c199a5195f8d21be98216241370bdf93cdd F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b F src/pager.c 0ce52a22ebfae0c085b68e00e30e9bf9ea462d0d F src/pager.h d783e7f184afdc33adff37ba58d4e029bd8793b3 @@ -569,7 +569,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 -P ccbd2efebaecfd26d7016eb6684ad26c0bcc4e6b -R 93c85e6d97728406c543d3200f8eaf2c +P 1be70015e24f715a4276f253d2e0c0eec44650ee +R f39bacaaf8a4bd80c3fcaaeb07d44f18 U drh -Z f97bb49e5294f294045a5a03d6e2aca0 +Z 88317a5f744f86fb2f40c61a6535923b diff --git a/manifest.uuid b/manifest.uuid index 811669676c..41469d2124 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -1be70015e24f715a4276f253d2e0c0eec44650ee \ No newline at end of file +40cf0c177635c087b7695a8c4c3b37da57f74425 \ No newline at end of file diff --git a/src/os_win.c b/src/os_win.c index 408e12d736..8861eb4ca7 100644 --- a/src/os_win.c +++ b/src/os_win.c @@ -1175,6 +1175,7 @@ static int winOpen( { free(zConverted); } + OpenCounter(+1); return SQLITE_OK; }