diff --git a/src/mirall/ownsql.cpp b/src/mirall/ownsql.cpp index 087bcda80b..c61f3d3f38 100644 --- a/src/mirall/ownsql.cpp +++ b/src/mirall/ownsql.cpp @@ -144,7 +144,7 @@ bool SqlQuery::exec() // Don't do anything for selects, that is how we use the lib :-| if(_stmt && !isSelect() && !isPragma() ) { SQLITE_DO(sqlite3_step(_stmt)); - return _errId == SQLITE_DONE; // either SQLITE_ROW or SQLITE_DONE + return (_errId == SQLITE_DONE); // either SQLITE_ROW or SQLITE_DONE } return true;