Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/ownsql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ownsql.cpp b/src/common/ownsql.cpp
index ff22eff52..db4d3de5a 100644
--- a/src/common/ownsql.cpp
+++ b/src/common/ownsql.cpp
@@ -34,7 +34,7 @@
#define SQLITE_DO(A) \
if (1) { \
_errId = (A); \
- if (_errId != SQLITE_OK && _errId != SQLITE_DONE) { \
+ if (_errId != SQLITE_OK && _errId != SQLITE_DONE && _errId != SQLITE_ROW) { \
_error = QString::fromUtf8(sqlite3_errmsg(_db)); \
} \
}