mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
ownsql: Added some paranthisis to make clear whats happening.
This commit is contained in:
parent
74ec90c725
commit
eeb5ca42e0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue