From: drh Date: Mon, 9 Jun 2014 20:24:46 +0000 (+0000) Subject: Enhance the unix VFS so that it keeps track of the size of unlinked files X-Git-Tag: version-3.8.6~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fd7111dcbfcfd1441f0ec7e3ffa5a655974341e;p=thirdparty%2Fsqlite.git Enhance the unix VFS so that it keeps track of the size of unlinked files internally and thus avoids the need to call fstat() on those files, since fstat() does not work reliably on unlinked files on some implementations of FuseFS. FossilOrigin-Name: 10707d35786403ea5392d980f593bfecdae063dd --- 4fd7111dcbfcfd1441f0ec7e3ffa5a655974341e diff --cc manifest index 6555b4ed1a,25fcfdc03d..fcbd0a0c56 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Modify\sthe\s%nonassoc\sdirective\sin\slemon\sso\sthat\sit\sgenerates\sa\srun-time\nerror\srather\sthan\sa\sparsing\sconflict.\s\sThis\schanges\sis\sdue\sto\sa\sbug\sreport\non\sthe\smailing\slist.\s\sSQLite\sdoes\snot\suse\sthe\s%nonassoc\sdirective\sin\sits\ngrammar\sso\sthis\schange\sdoes\snot\saffect\sSQLite. - D 2014-06-09T13:11:40.535 -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\sof\nFuseFS. -D 2014-06-09T20:06:01.535 ++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 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in dd2b1aba364ff9b05de41086f74407f285c57670 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1174,7 -1174,10 +1174,7 @@@ F tool/vdbe_profile.tcl 67746953071a9f8 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f - P 813469d98519b609669a004b7b604af78ef40c02 - R 17b9b9add2b8e980cb35f959c7029199 -P 1925f3a0a2caa709569df015a8e0d26412f1a9ff ++P 1925f3a0a2caa709569df015a8e0d26412f1a9ff c41df393c6afbfbfdc4d1b885024e083c6f6de1f + R ce653ef517f5e803383e83307c89c5db -T *branch * omit-fstat-after-unlink -T *sym-omit-fstat-after-unlink * -T -sym-trunk * U drh - Z c031771471155f639666c4eafbc642f6 -Z c015ab13afaac99134c0355e5c3248ba ++Z 51e75e681608f5fd7d1d480ee0a981d3 diff --cc manifest.uuid index 6a1ff5c5e1,918b2aea7b..6da83fe43c --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 1925f3a0a2caa709569df015a8e0d26412f1a9ff -c41df393c6afbfbfdc4d1b885024e083c6f6de1f ++10707d35786403ea5392d980f593bfecdae063dd