[Pkg-owncloud-commits] [owncloud-client] 28/115: SyncEngine: End the journal transaction after update.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Aug 29 22:03:56 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 32739cc3052075d88d8c4ae9d2a0fd800bd8e130
Author: Klaas Freitag <freitag at owncloud.com>
Date: Thu Aug 14 11:28:34 2014 +0200
SyncEngine: End the journal transaction after update.
---
src/mirall/syncengine.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index 90fa76a..764adbb 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -622,6 +622,10 @@ void SyncEngine::slotUpdateFinished(int updateResult)
QProcess::execute(script.toUtf8());
}
#endif
+
+ // do a database commit
+ _journal->commit("post treewalk");
+
_propagator.reset(new OwncloudPropagator (session, _localPath, _remoteUrl, _remotePath,
_journal, &_thread));
connect(_propagator.data(), SIGNAL(completed(SyncFileItem)),
--
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