From: drh Date: Fri, 12 Dec 2014 00:52:10 +0000 (+0000) Subject: Remove the KeyInfo cache (for now - perhaps we will add it back in later - or X-Git-Tag: version-3.8.8~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ea0bafae2c4fd39e2744426f6ad3934100a19e0;p=thirdparty%2Fsqlite.git Remove the KeyInfo cache (for now - perhaps we will add it back in later - or maybe not since it provides negligible benefit but adds a lot of complexity and thread-safety risk). Add a mutex to ATTACH to deal with a data race. FossilOrigin-Name: 03c443eaf24413d6faaa91a33575d9dfd3528b5c --- 2ea0bafae2c4fd39e2744426f6ad3934100a19e0 diff --cc manifest index 69fe030103,022b15647e..446beca49b --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Fix\sa\srace\scondition\sto\sdo\swith\svery\slarge\sindex\skeys\sin\sshared-cache\smode. - D 2014-12-11T16:38:18.086 -C Make\ssure\sthe\sBtree\smutex\sis\sheld\swhen\ssetting\sthe\slocking\smode\sand\sthe\nsecure\sdelete\sflag\swhen\sattaching\sa\sshared-cache\sdatabase. -D 2014-12-12T00:40:58.882 ++C Remove\sthe\sKeyInfo\scache\s(for\snow\s-\sperhaps\swe\swill\sadd\sit\sback\sin\slater\s-\sor\nmaybe\snot\ssince\sit\sprovides\snegligible\sbenefit\sbut\sadds\sa\slot\sof\scomplexity\nand\sthread-safety\srisk).\s\sAdd\sa\smutex\sto\sATTACH\sto\sdeal\swith\sa\sdata\srace. ++D 2014-12-12T00:52:10.892 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 6c4f961fa91d0b4fa121946a19f9e5eac2f2f809 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -1228,7 -1229,7 +1229,8 @@@ F tool/vdbe_profile.tcl 67746953071a9f8 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f - P 258e747bb7e3a2bc46f932cc2b06c2689d43aeb0 - R 016d1b9c16d412ff926cdf599ae97f64 - U dan - Z 8da7cca75b292da60a4687ff246cc6b3 -P cefad47ec2ad58d7ecd58bab9a261e4d5816cd69 ++P fc157dd7f18c94b7ae5f155e1b4a5d7714b7da8c 6bef7ede2bbf0a51729e1943b0b0c895cb57c718 + R 43ea10bc03cfab6b8cae2a465b94aee2 ++T +closed 6bef7ede2bbf0a51729e1943b0b0c895cb57c718 + U drh -Z 01d198dabe70d93c23f2c971bf866fd9 ++Z 6886c071ca5a249d6b983c22ce222f5d diff --cc manifest.uuid index 0de4da3602,2d4407626b..e881507359 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - fc157dd7f18c94b7ae5f155e1b4a5d7714b7da8c -6bef7ede2bbf0a51729e1943b0b0c895cb57c718 ++03c443eaf24413d6faaa91a33575d9dfd3528b5c