mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Return OK when SQLITE_ROW in step().
This commit is contained in:
parent
d53e7dd1fc
commit
3c14689ba6
@ -459,6 +459,10 @@ Error SQLite3PreparedStatement::step() {
|
|||||||
|
|
||||||
int res = sqlite3_step(_prepared_statement);
|
int res = sqlite3_step(_prepared_statement);
|
||||||
|
|
||||||
|
if (res == SQLITE_ROW) {
|
||||||
|
return OK;
|
||||||
|
}
|
||||||
|
|
||||||
if (res != SQLITE_OK) {
|
if (res != SQLITE_OK) {
|
||||||
return FAILED;
|
return FAILED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user