diff --git a/modules/database_sqlite/sqlite3_prepared_statement.cpp b/modules/database_sqlite/sqlite3_prepared_statement.cpp index c5bbbc905..d90e7ecb4 100644 --- a/modules/database_sqlite/sqlite3_prepared_statement.cpp +++ b/modules/database_sqlite/sqlite3_prepared_statement.cpp @@ -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; }