]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Avoid an unnecessary initialization of the szFile field of unixFile in
authordrh <drh@noemail.net>
Mon, 9 Jun 2014 20:39:03 +0000 (20:39 +0000)
committerdrh <drh@noemail.net>
Mon, 9 Jun 2014 20:39:03 +0000 (20:39 +0000)
the unix VFS.

FossilOrigin-Name: 6484fb5a25c2a0e5d26694285a4908a22c67ba17

manifest
manifest.uuid
src/os_unix.c

index fcbd0a0c567d6e6beef95703ff58b5b631ad290e..5eed2ac67ed560c97d93161d38693158c9bd273d 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Enhance\sthe\sunix\sVFS\sso\sthat\sit\skeeps\strack\sof\sthe\ssize\sof\sunlinked\sfiles\ninternally\sand\sthus\savoids\sthe\sneed\sto\scall\sfstat()\son\sthose\sfiles,\ssince\nfstat()\sdoes\snot\swork\sreliably\son\sunlinked\sfiles\son\ssome\simplementations\nof\sFuseFS.
-D 2014-06-09T20:24:46.164
+C Avoid\san\sunnecessary\sinitialization\sof\sthe\sszFile\sfield\sof\sunixFile\sin\nthe\sunix\sVFS.
+D 2014-06-09T20:39:03.676
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in dd2b1aba364ff9b05de41086f74407f285c57670
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -205,7 +205,7 @@ F src/os.c 1b147e4cf7cc39e618115c14a086aed44bc91ace
 F src/os.h 60d419395e32a8029fa380a80a3da2e9030f635e
 F src/os_common.h 92815ed65f805560b66166e3583470ff94478f04
 F src/os_setup.h c9d4553b5aaa6f73391448b265b89bed0b890faa
-F src/os_unix.c e8c5f23bb6e9123b524cd0a87dd1e9263a4dd3be
+F src/os_unix.c 89be80af5141624fe432f51bfebdc826ec4d0d4f
 F src/os_win.c 8dbf6c11780fe2eb96c1f289e664d0c7b2911d37
 F src/os_win.h 057344a6720b4c8405d9bd98f58cb37a6ee46c25
 F src/pager.c f6bb1fa6cdf2062f2d8aec3e64db302bca519ab8
@@ -1174,7 +1174,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 1925f3a0a2caa709569df015a8e0d26412f1a9ff c41df393c6afbfbfdc4d1b885024e083c6f6de1f
-R ce653ef517f5e803383e83307c89c5db
+P 10707d35786403ea5392d980f593bfecdae063dd
+R 5c924f630188cdd6e1f0b84a36c79d61
 U drh
-Z 51e75e681608f5fd7d1d480ee0a981d3
+Z b2fa1d596ef871591a5ab3a0251e8787
index 6da83fe43c8fe859c515f985a7484c7f00798e9a..bf49aa9d5199fe19cb7f2f6c5908d5afd53e61f8 100644 (file)
@@ -1 +1 @@
-10707d35786403ea5392d980f593bfecdae063dd
\ No newline at end of file
+6484fb5a25c2a0e5d26694285a4908a22c67ba17
\ No newline at end of file
index ceb8cdb7f37dd6974b6066a3161ac2107fb2c989..72d04e670dee8bf5214ee892376dfd2801f272ef 100644 (file)
@@ -5794,7 +5794,7 @@ static int unixOpen(
   }
 
   if( isDelete ){
-    p->szFile = 0;
+    assert( p->szFile==0 );
 #if OS_VXWORKS
     zPath = zName;
 #else