projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb4e96
)
OwnSQL: don't parse the error message when we are done
author
Olivier Goffart
<ogoffart@woboq.com>
Mon, 25 Sep 2017 12:19:48 +0000
(14:19 +0200)
committer
Roeland Jago Douma
<roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:37 +0000
(22:01 +0200)
src/common/ownsql.cpp
patch
|
blob
|
history
diff --git
a/src/common/ownsql.cpp
b/src/common/ownsql.cpp
index 2bda1ab0958167121817be19d4fe77b6f51fb898..d6eb9b8580e1f7f6341ce6adda1834d3d7cdb3d9 100644
(file)
--- a/
src/common/ownsql.cpp
+++ b/
src/common/ownsql.cpp
@@
-33,7
+33,7
@@
#define SQLITE_DO(A) \
if (1) { \
_errId = (A); \
- if (_errId != SQLITE_OK
) {
\
+ if (_errId != SQLITE_OK
&& _errId != SQLITE_DONE) {
\
_error = QString::fromUtf8(sqlite3_errmsg(_db)); \
} \
}