From a82b40f403bd7315ace6ae6f7dda15294ac439f9 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 30 Oct 2014 14:41:10 +0100 Subject: disable WAL for the time being. #5562 --- client/src/leap/soledad/client/sqlcipher.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/leap/soledad/client/sqlcipher.py b/client/src/leap/soledad/client/sqlcipher.py index 2df9606e..41707953 100644 --- a/client/src/leap/soledad/client/sqlcipher.py +++ b/client/src/leap/soledad/client/sqlcipher.py @@ -238,7 +238,10 @@ class SQLCipherDatabase(sqlite_backend.SQLitePartialExpandDatabase): self._pragma_synchronous_normal(self._db_handle) if os.environ.get('LEAP_SQLITE_MEMSTORE'): self._pragma_mem_temp_store(self._db_handle) - self._pragma_write_ahead_logging(self._db_handle) + + # Disabled for 0.6.x branch. See #5562 + # self._pragma_write_ahead_logging(self._db_handle) + self._real_replica_uid = None self._ensure_schema() self._crypto = crypto -- cgit v1.2.3