1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Probably fix SQLITE_BUSY errors

This commit is contained in:
Eelco Dolstra 2016-04-05 15:29:56 +02:00
parent 37a337bcec
commit 80da7a6375
2 changed files with 7 additions and 0 deletions

View file

@ -73,6 +73,11 @@ SQLiteStmt::Use::Use(SQLiteStmt & stmt)
sqlite3_reset(stmt);
}
SQLiteStmt::Use::~Use()
{
sqlite3_reset(stmt);
}
SQLiteStmt::Use & SQLiteStmt::Use::operator () (const std::string & value, bool notNull)
{
if (notNull) {