Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: third_party/sqlite/src/test/pcache.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/pagesize.test ('k') | third_party/sqlite/src/test/permutations.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/sqlite/src/test/pagesize.test ('k') | third_party/sqlite/src/test/permutations.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698