[evolution-data-server/openismus-work: 16/52] EBookBackendSqliteDB: Enable WAL journal mode
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work: 16/52] EBookBackendSqliteDB: Enable WAL journal mode
- Date: Thu, 22 Nov 2012 04:28:25 +0000 (UTC)
commit a766e62cbe593ce768e8979ad2d600e3f6faead7
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Fri Nov 2 20:37:34 2012 +0900
EBookBackendSqliteDB: Enable WAL journal mode
.../libedata-book/e-book-backend-sqlitedb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index 3cf0ce2..0fcdc7a 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -669,6 +669,7 @@ book_backend_sqlitedb_load (EBookBackendSqliteDB *ebsdb,
book_backend_sql_exec (priv->db, "ATTACH DATABASE ':memory:' AS mem", NULL, NULL, NULL);
book_backend_sql_exec (priv->db, "PRAGMA foreign_keys = ON", NULL, NULL, NULL);
book_backend_sql_exec (priv->db, "PRAGMA case_sensitive_like = ON", NULL, NULL, NULL);
+ book_backend_sql_exec (priv->db, "PRAGMA journal_mode = WAL", NULL, NULL, NULL);
WRITER_UNLOCK (ebsdb);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]