mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
SQLite: Handle other return values from sqlite3_step
This commit is contained in:
parent
cca1d4f988
commit
ac4aef2d94
2 changed files with 57 additions and 43 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue