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

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

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/attach3.test ('k') | third_party/sqlite/src/test/attachmalloc.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/attach4.test
diff --git a/third_party/sqlite/src/test/attach4.test b/third_party/sqlite/src/test/attach4.test
index f597f5d0358ed333061bda96e58f41bc0b45827c..77dd7e41154f4a0523ddd110fb50b26b4a8c65b9 100644
--- a/third_party/sqlite/src/test/attach4.test
+++ b/third_party/sqlite/src/test/attach4.test
@@ -75,10 +75,12 @@ set L [list]
set S ""
foreach {name f} $files {
if {[permutation] == "journaltest"} {
- lappend L delete
+ set mode delete
} else {
- lappend L wal
+ set mode wal
}
+ ifcapable !wal { set mode delete }
+ lappend L $mode
append S "
PRAGMA $name.journal_mode = WAL;
UPDATE $name.tbl SET x = '$name';
« no previous file with comments | « third_party/sqlite/src/test/attach3.test ('k') | third_party/sqlite/src/test/attachmalloc.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698