From 8089b0443d58af13744fba00a5df57d3ea46ef3c Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Mon, 18 May 2020 19:09:57 +0200 Subject: [PATCH] disable wal for now, there are some failing tests --- src/sql.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sql.rs b/src/sql.rs index c5927aa04..c516eb41a 100644 --- a/src/sql.rs +++ b/src/sql.rs @@ -422,7 +422,11 @@ fn open( // but even if execute() would handle errors more gracefully, we should continue on errors - // systems might not be able to handle WAL, in which case the standard-journal is used. // that may be not optimal, but better than not working at all :) - sql.execute("PRAGMA journal_mode=WAL;", NO_PARAMS).ok(); + + // some tests are failing reproducible with journal_mode=WAL but pass with journal_mode=DELETE - + // until we have more details on that or the tests pass again, we disable WAL. + // as no core was shipped with WAL, there is no need to disable it explicitly. + //sql.execute("PRAGMA journal_mode=WAL;", NO_PARAMS).ok(); let mut exists_before_update = false; let mut dbversion_before_update = 0;