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 18f304dbbe30b50a826d145408222f1ea7f923a0..712363e7620fd357e40dfd3c39fae86c574c138e 100644 |
--- a/third_party/sqlite/src/test/exclusive2.test |
+++ b/third_party/sqlite/src/test/exclusive2.test |
@@ -25,6 +25,14 @@ ifcapable {!pager_pragmas} { |
return |
} |
+# Tests in this file verify that locking_mode=exclusive causes SQLite to |
+# use cached pages even if the database is changed on disk. This doesn't |
+# work with mmap. |
+if {[permutation]=="mmap"} { |
+ finish_test |
+ return |
+} |
+ |
# This module does not work right if the cache spills at unexpected |
# moments. So disable the soft-heap-limit. |
# |
@@ -259,8 +267,8 @@ do_test exclusive2-2.8 { |
db close |
catch {close $::fd} |
-file delete -force test.db |
-file delete -force test.db-journal |
+forcedelete test.db |
+forcedelete test.db-journal |
do_test exclusive2-3.0 { |
sqlite3 db test.db |
@@ -293,7 +301,6 @@ do_test exclusive2-3.3 { |
readPagerChangeCounter test.db |
} {4} |
do_test exclusive2-3.4 { |
-breakpoint |
execsql { |
INSERT INTO t1 VALUES(randstr(200, 200)); |
} |