Index: third_party/sqlite/src/test/tempdb.test |
diff --git a/third_party/sqlite/src/test/tempdb.test b/third_party/sqlite/src/test/tempdb.test |
index a8915cda18ff889638f1c8a5de32706ce4f6bf96..ecd23d4e32866f437f953f1e3370013e4a8ed072 100644 |
--- a/third_party/sqlite/src/test/tempdb.test |
+++ b/third_party/sqlite/src/test/tempdb.test |
@@ -58,11 +58,8 @@ do_test tempdb-2.1 { |
# to be in memory. These variables are used to calculate the expected |
# number of open files in the test cases below. |
# |
- set jrnl_in_memory [expr { |
- [info exists ::permutations_test_prefix] && |
- $::permutations_test_prefix eq "inmemory_journal" |
- }] |
- set subj_in_memory [expr {$jrnl_in_memory || $TEMP_STORE == 3}] |
+ set jrnl_in_memory [expr {[permutation] eq "inmemory_journal"}] |
+ set subj_in_memory [expr {$jrnl_in_memory || $TEMP_STORE>=2}] |
db close |
sqlite3 db test.db |
@@ -74,6 +71,7 @@ do_test tempdb-2.2 { |
BEGIN; |
INSERT INTO t1 VALUES(1, 2, 3); |
INSERT INTO t1 VALUES(4, 5, 6); |
+ INSERT INTO t2 VALUES(7, 8, 9); |
INSERT INTO t2 SELECT * FROM t1; |
} |
catchsql { INSERT INTO t1 SELECT * FROM t2 } |