ownsql: Added some paranthisis to make clear whats happening.

This commit is contained in:
Klaas Freitag 2014-10-15 13:29:25 +02:00
parent 74ec90c725
commit eeb5ca42e0

View file

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