[Pkg-owncloud-commits] [owncloud-client] 06/89: Fixed check for SQL command successs.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:28 UTC 2013


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 4b7f75059a5ba0226b8103013d19ac4e4e1ce716
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Dec 4 10:31:05 2013 +0100

    Fixed check for SQL command successs.
---
 src/mirall/syncjournaldb.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/syncjournaldb.cpp b/src/mirall/syncjournaldb.cpp
index 2b9558e..502fa85 100644
--- a/src/mirall/syncjournaldb.cpp
+++ b/src/mirall/syncjournaldb.cpp
@@ -385,7 +385,7 @@ bool SyncJournalDb::deleteFileRecord(const QString& filename, bool recursively)
             qlonglong phash = getPHash(filename);
             _deleteFileRecordPhash->bindValue( 0, QString::number(phash) );
 
-            if( _deleteFileRecordPhash->exec() ) {
+            if( !_deleteFileRecordPhash->exec() ) {
                 qWarning() << "Exec error of SQL statement: "
                            << _deleteFileRecordPhash->lastQuery()
                            <<  " : " << _deleteFileRecordPhash->lastError().text();

-- 
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