Index: third_party/sqlite/src/test/jrnlmode3.test |
diff --git a/third_party/sqlite/src/test/jrnlmode3.test b/third_party/sqlite/src/test/jrnlmode3.test |
index 7a6f4c3adc4963ff95412a0e0a559708d34e4399..6ae1346e324bfd0521380af63d1a81371d74da0d 100644 |
--- a/third_party/sqlite/src/test/jrnlmode3.test |
+++ b/third_party/sqlite/src/test/jrnlmode3.test |
@@ -45,7 +45,7 @@ do_test jrnlmode3-1.2 { |
ROLLBACK; |
SELECT * FROM t1; |
} |
-} {1 2} |
+} {1} |
db close |
file delete -force test.db test.db-journal |
@@ -67,7 +67,7 @@ do_test jrnlmode3-2.2 { |
ROLLBACK; |
SELECT * FROM t1; |
} |
-} {1 2} |
+} {1} |
# Test cases to verify that we can move from any journal_mode |
# to any other, as long as we are not in a transaction. Verify |
@@ -112,15 +112,14 @@ foreach fromjmode $all_journal_modes { |
db eval "PRAGMA journal_mode=$tojmode" |
} $fromjmode |
- # Rollback the transaction. Verify that the rollback occurred |
- # if journal_mode!=OFF. |
+ # Rollback the transaction. |
# |
do_test jrnlmode3-3.$cnt.4 { |
db eval { |
ROLLBACK; |
SELECT * FROM t1; |
} |
- } [expr {$fromjmode=="off"?$cnt:""}] |
+ } {} |
# Now change the journal mode again. This time the new mode |
# should take. |
@@ -143,7 +142,7 @@ foreach fromjmode $all_journal_modes { |
db eval { |
SELECT * FROM t1; |
} |
- } [expr {$tojmode=="off"?"1":""}] |
+ } {} |
} |
} |