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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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/walcksum.test ('k') | third_party/sqlite/src/test/walcrash4.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/walcrash.test
diff --git a/third_party/sqlite/src/test/walcrash.test b/third_party/sqlite/src/test/walcrash.test
index 2a647188b07697ea6fe045c384f070a659d008a3..b8ca7fbf34009ab37bc377c46e26b5b0c3a003c7 100644
--- a/third_party/sqlite/src/test/walcrash.test
+++ b/third_party/sqlite/src/test/walcrash.test
@@ -237,12 +237,13 @@ for {set i 1} {$i < $REPEATS} {incr i} {
INSERT INTO t1 VALUES(randomblob(9000));
INSERT INTO t1 VALUES(randomblob(9000));
INSERT INTO t1 VALUES(randomblob(9000));
+ INSERT INTO t1 VALUES(randomblob(9000));
}
} {1 {child process exited abnormally}}
do_test walcrash-6.$i.2 {
sqlite3 db test.db
- execsql { SELECT count(*)==34 OR count(*)==35 FROM t1 WHERE x != 1 }
+ execsql { SELECT count(*) BETWEEN 34 AND 36 FROM t1 WHERE x != 1 }
} {1}
do_test walcrash-6.$i.3 { execsql { PRAGMA main.integrity_check } } {ok}
do_test walcrash-6.$i.4 { execsql { PRAGMA main.journal_mode } } {wal}
« no previous file with comments | « third_party/sqlite/src/test/walcksum.test ('k') | third_party/sqlite/src/test/walcrash4.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698