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

Unified Diff: third_party/sqlite/src/test/mutex1.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/multiplex.test ('k') | third_party/sqlite/src/test/nan.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/mutex1.test
diff --git a/third_party/sqlite/src/test/mutex1.test b/third_party/sqlite/src/test/mutex1.test
index ad6bd1470b6afbf5b331c6489d8c8dd3063b9726..4bdf769ad302c7c777de58d7b03a5f7c21061c2d 100644
--- a/third_party/sqlite/src/test/mutex1.test
+++ b/third_party/sqlite/src/test/mutex1.test
@@ -101,8 +101,14 @@ ifcapable threadsafe&&shared_cache {
set enable_shared_cache [sqlite3_enable_shared_cache 1]
foreach {mode mutexes} {
singlethread {}
- multithread {fast static_lru static_master static_mem static_open static_prng }
- serialized {fast recursive static_lru static_master static_mem static_open static_prng}
+ multithread {
+ fast static_lru static_master static_mem static_open static_prng
+ static_pmem
+ }
+ serialized {
+ fast recursive static_lru static_master static_mem static_open
+ static_prng static_pmem
+ }
} {
do_test mutex1.2.$mode.1 {
@@ -120,7 +126,9 @@ ifcapable threadsafe&&shared_cache {
INSERT INTO abc VALUES(1, 2, 3);
}
} {}
-
+ ifcapable !memorymanage {
+ regsub { static_lru} $mutexes {} mutexes
+ }
do_test mutex1.2.$mode.3 {
mutex_counters counters
« no previous file with comments | « third_party/sqlite/src/test/multiplex.test ('k') | third_party/sqlite/src/test/nan.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698