diff --git a/src/common/ownsql.cpp b/src/common/ownsql.cpp index 2bda1ab09..d6eb9b858 100644 --- 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)); \ } \ }