From: drh Date: Tue, 18 Jan 2011 17:03:26 +0000 (+0000) Subject: Do not use mutexes in the pcache implementation unless X-Git-Tag: version-3.7.5~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bee29f4ac1a82912b65e2cb5f5d9e49eaceb6352;p=thirdparty%2Fsqlite.git Do not use mutexes in the pcache implementation unless SQLITE_ENABLE_MEMORY_MANAGMENT is defined. This is a performance enhancement. A side effect is that pcaches will not steal pages from one another unless ENABLE_MEMORY_MANAGEMENT is set, or unless SQLITE_THREADSAFE=0. FossilOrigin-Name: e5ca59e63b18ac45a8c82ca39dc8cce1c4ce903c --- bee29f4ac1a82912b65e2cb5f5d9e49eaceb6352 diff --cc manifest index efbad616ed,1f5d0773e5..118063a234 --- a/manifest +++ b/manifest @@@ -1,8 -1,8 +1,8 @@@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - C Fix\sa\stypo\sin\sthe\sdocumentation\sfor\ssqlite3_stmt_readonly(). - D 2011-01-17T18:30:10.560 -C Get\sall\stest\scases\sworking\swith\sthe\smutex-free-pcache\simplementation. -D 2011-01-18T16:13:27.224 ++C Do\snot\suse\smutexes\sin\sthe\spcache\simplementation\sunless\nSQLITE_ENABLE_MEMORY_MANAGMENT\sis\sdefined.\s\sThis\sis\sa\sperformance\senhancement.\nA\sside\seffect\sis\sthat\spcaches\swill\snot\ssteal\spages\sfrom\sone\sanother\sunless\nENABLE_MEMORY_MANAGEMENT\sis\sset,\sor\sunless\sSQLITE_THREADSAFE=0. ++D 2011-01-18T17:03:26.554 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in de6498556d536ae60bb8bb10e8c1ba011448658c F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@@ -899,14 -899,14 +899,14 @@@ F tool/speedtest2.tcl ee2149167303ba8e9 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f - P 053ce76deb356d31358454507ba94947142e20ca - R f54d561af253c3d1376dc02d1c240211 -P f1cf02efcb3a871fef49f8b5f41bcf07622a6d29 ++P 56417a3386fc84dd36bf1488e88149b1ac6a0d02 2dc98d29995bef51108e99aa8f7a56427cf9e1d7 + R ae7dd673c03c5cec18f064cfaf72f5a8 U drh - Z 8c25e4062798f189ea989bddedbb0345 -Z 361d8d6f88c7d70dfbc961880b2d5a3c ++Z 325abbc955397207600330822401f3ff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) - iD8DBQFNNIq1oxKgR168RlERAhJIAJ41aqeYSwX6tnjlDZCSWspksdAFOACfbM7B - qyqhJCGIuNC0hRiUIh/Gvzw= - =CR8k -iD8DBQFNNbwqoxKgR168RlERAkwpAJ98UXBjNfDigdVNfL5U73DQ1Ji1XACfaeFe -sRz6NboclM0T0HvSkCmQEPs= -=DkPe ++iD8DBQFNNcfhoxKgR168RlERAkQlAJ4goobzjFc2tVGaK8jIdVviHMW2TwCfYV8B ++rrsRGD/Sjq/hNYcI1Uavg6U= ++=JG+V -----END PGP SIGNATURE----- diff --cc manifest.uuid index 2bfaca6792,f27c91d65c..08777730f0 --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 56417a3386fc84dd36bf1488e88149b1ac6a0d02 -2dc98d29995bef51108e99aa8f7a56427cf9e1d7 ++e5ca59e63b18ac45a8c82ca39dc8cce1c4ce903c