summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-10-30 14:41:10 +0100
committerKali Kaneko <kali@leap.se>2014-10-30 14:55:17 +0100
commita82b40f403bd7315ace6ae6f7dda15294ac439f9 (patch)
tree1d1a34b9a398a5da1e624c752571126a3e3af689
parent372aa8a4d86073f57f3f4280bfdbb50705fbab44 (diff)
disable WAL for the time being. #5562
-rw-r--r--client/src/leap/soledad/client/sqlcipher.py5
1 files changed, 4 insertions, 1 deletions
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