SQLite: Handle other return values from sqlite3_step

This commit is contained in:
Tim Wojtulewicz 2025-02-28 13:40:03 -07:00
parent cca1d4f988
commit ac4aef2d94
2 changed files with 57 additions and 43 deletions

View file

@ -55,7 +55,8 @@ public:
void Expire() override;
private:
OperationResult checkError(int code);
OperationResult CheckError(int code);
OperationResult Step(sqlite3_stmt* stmt, bool parse_value = false);
sqlite3* db = nullptr;
std::unordered_map<std::string, sqlite3_stmt*> prepared_stmts;