[Pkg-owncloud-commits] [owncloud-client] 134/211: ownSql: Still also use sqlite3 busy handler
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:37 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 f0dc3725e80cc745f2504710b80b4f6b7e348534
Author: Markus Goetz <markus at woboq.com>
Date: Mon Oct 20 17:26:25 2014 +0200
ownSql: Still also use sqlite3 busy handler
---
src/mirall/ownsql.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mirall/ownsql.cpp b/src/mirall/ownsql.cpp
index f1c1400..a563a7c 100644
--- a/src/mirall/ownsql.cpp
+++ b/src/mirall/ownsql.cpp
@@ -53,6 +53,9 @@ bool SqlDatabase::open( const QString& filename )
close(); // FIXME: Correct?
_db = 0;
}
+
+ sqlite3_busy_timeout(_db, 5000);
+
return isOpen();
}
--
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