[Pkg-owncloud-commits] [owncloud-client] 15/211: csync statedb: Issue a warning if sqlite is not compiled thread safe.
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 27318dded69362faf21fddd0f084845910d7b808
Author: Klaas Freitag <freitag at owncloud.com>
Date: Mon Oct 6 18:35:25 2014 +0200
csync statedb: Issue a warning if sqlite is not compiled thread safe.
---
csync/src/csync_statedb.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/csync/src/csync_statedb.c b/csync/src/csync_statedb.c
index d4b0fb3..d11905b 100644
--- a/csync/src/csync_statedb.c
+++ b/csync/src/csync_statedb.c
@@ -76,6 +76,10 @@ static int _csync_check_db_integrity(sqlite3 *db) {
c_strlist_destroy(result);
}
+ if( sqlite3_threadsafe() != 0 ) {
+ CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "* WARNING: SQLite module is not threadsafe!");
+ }
+
return rc;
}
--
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