Index: third_party/sqlite/src/test/pcache.test |
diff --git a/third_party/sqlite/src/test/pcache.test b/third_party/sqlite/src/test/pcache.test |
index 7c0951e982a7b27324d17b3662ee9d71f058af67..5dc3059c44834cfbe02049f5d51df1e18d9a39c8 100644 |
--- a/third_party/sqlite/src/test/pcache.test |
+++ b/third_party/sqlite/src/test/pcache.test |
@@ -16,6 +16,18 @@ |
set testdir [file dirname $argv0] |
source $testdir/tester.tcl |
+# Do not use a codec for tests in this file, as the database file is |
+# manipulated directly using tcl scripts (using the [hexio_write] command). |
+# |
+do_not_use_codec |
+ |
+# Only works with a mode-2 pcache where all pcaches share a single set |
+# of pages. |
+# |
+ifcapable {!memorymanage && threadsafe} { |
+ finish_test |
+ return |
+} |
# The pcache module limits the number of pages available to purgeable |
# caches to the sum of the 'cache_size' values for the set of open |