Commit 832c0ea0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

SqliteTools: Fix infinite loop in error cases

parent 61970dd1
......@@ -101,7 +101,7 @@ class SqliteTools
do
{
res = sqlite3_step( stmt.get() );
} while ( res != SQLITE_DONE && res != SQLITE_ERROR );
} while ( res == SQLITE_ROW );
return res == SQLITE_DONE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment