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

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

Issue 5626002: Update sqlite to 3.7.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/third_party/sqlite/src
Patch Set: Remove misc change. Created 10 years 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/exclusive.test ('k') | third_party/sqlite/src/test/expr.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/exclusive2.test
diff --git a/third_party/sqlite/src/test/exclusive2.test b/third_party/sqlite/src/test/exclusive2.test
index f38ddcf8bc722755c6cbcf1c5e8178dce052858b..6c3571d23b66a1f70e0273b6bd2933942d947bde 100644
--- a/third_party/sqlite/src/test/exclusive2.test
+++ b/third_party/sqlite/src/test/exclusive2.test
@@ -83,7 +83,7 @@ do_test exclusive2-1.0 {
# The following tests - exclusive2-1.X - check that:
#
# 1-3: Build a database with connection 1, calculate a signature.
-# 4-9: Modify the database using a second connection in a way that
+# 4-7: Modify the database using a second connection in a way that
# does not modify the freelist, then reset the pager change-counter
# to the value it had before the modifications.
# 8: Check that using the first connection, the database signature
@@ -99,6 +99,11 @@ do_test exclusive2-1.0 {
# the cache size must be at least 17. Otherwise, some pages will be
# loaded from the database file in step 8.
#
+# For similar reasons, this test does not work with the memsubsys1 permutation.
+# Permutation memsubsys1 configures the pcache subsystem to use a static
+# allocation of 24 pages (shared between all pagers). This is not enough for
+# this test.
+#
do_test exclusive2-1.1 {
execsql {
BEGIN;
@@ -146,10 +151,12 @@ do_test exclusive2-1.6 {
do_test exclusive2-1.7 {
pagerChangeCounter test.db 1
} {1}
-do_test exclusive2-1.9 {
- t1sig
- expr {[t1sig] eq $::sig}
-} {1}
+if {[permutation] != "memsubsys1"} {
+ do_test exclusive2-1.9 {
+ t1sig
+ expr {[t1sig] eq $::sig}
+ } {1}
+}
do_test exclusive2-1.10 {
pagerChangeCounter test.db 2
} {2}
@@ -299,6 +306,6 @@ do_test exclusive2-3.6 {
}
readPagerChangeCounter test.db
} {5}
-sqlite3_soft_heap_limit $soft_limit
+sqlite3_soft_heap_limit $cmdlinearg(soft-heap-limit)
finish_test
« no previous file with comments | « third_party/sqlite/src/test/exclusive.test ('k') | third_party/sqlite/src/test/expr.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698