Return OK when SQLITE_ROW in step().

This commit is contained in:
Relintai 2024-04-27 22:50:50 +02:00
parent d53e7dd1fc
commit 3c14689ba6

View File

@ -459,6 +459,10 @@ Error SQLite3PreparedStatement::step() {
int res = sqlite3_step(_prepared_statement);
if (res == SQLITE_ROW) {
return OK;
}
if (res != SQLITE_OK) {
return FAILED;
}