[Pkg-owncloud-commits] [owncloud-client] 16/211: csync statedb: Set PRAGMA synchronous to NORMAL for read only db.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit edf7cd29ddd4c245f043ff26c5abb98d9dad86c2
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Oct 6 18:36:08 2014 +0200

    csync statedb: Set PRAGMA synchronous to NORMAL for read only db.
---
 csync/src/csync_statedb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csync/src/csync_statedb.c b/csync/src/csync_statedb.c
index d11905b..c1955a5 100644
--- a/csync/src/csync_statedb.c
+++ b/csync/src/csync_statedb.c
@@ -226,7 +226,7 @@ int csync_statedb_load(CSYNC *ctx, const char *statedb, sqlite3 **pdb) {
   }
 
   /* optimization for speeding up SQLite */
-  result = csync_statedb_query(db, "PRAGMA synchronous = FULL;");
+  result = csync_statedb_query(db, "PRAGMA synchronous = NORMAL;");
   c_strlist_destroy(result);
   result = csync_statedb_query(db, "PRAGMA case_sensitive_like = ON;");
   c_strlist_destroy(result);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list