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

Unified Diff: third_party/sqlite/src/test/zerodamage.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/wordcount.c ('k') | third_party/sqlite/src/tool/GetTclKit.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/zerodamage.test
diff --git a/third_party/sqlite/src/test/zerodamage.test b/third_party/sqlite/src/test/zerodamage.test
index dccaba816e6e081e421bf9f338df48537b147356..a87e50b7b5e8203b9a922028c08fe0c171cb8078 100644
--- a/third_party/sqlite/src/test/zerodamage.test
+++ b/third_party/sqlite/src/test/zerodamage.test
@@ -89,7 +89,7 @@ do_test zerodamage-2.1 {
concat [file_control_powersafe_overwrite db -1] [set ::max_journal_size]
} {0 0 24704}
-ifcapable wal {
+if {[wal_is_capable]} {
# Run a WAL-mode transaction with POWERSAFE_OVERWRITE on to verify that the
# WAL file does not get too big.
#
@@ -112,6 +112,7 @@ ifcapable wal {
db close
sqlite3 db file:test.db?psow=FALSE -uri 1
db eval {
+ PRAGMA synchronous=FULL;
UPDATE t1 SET y=randomblob(50) WHERE x=124;
}
file size test.db-wal
« no previous file with comments | « third_party/sqlite/src/test/wordcount.c ('k') | third_party/sqlite/src/tool/GetTclKit.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698