diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-01-27T14·19+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-01-27T14·19+0100 |
commit | cb1951e746cb04f331b126c746758c96bb9fdc81 (patch) | |
tree | 6a4668f294e0c1fe32faaa80d6b3c3b55623d482 /src/libstore/sqlite.hh | |
parent | 211bc7f0e6daa65fe4083334e2411bc441067904 (diff) |
Periodically purge binary-cache.sqlite
Diffstat (limited to 'src/libstore/sqlite.hh')
-rw-r--r-- | src/libstore/sqlite.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/sqlite.hh b/src/libstore/sqlite.hh index 7c1ed538215c..4d347a2e56ab 100644 --- a/src/libstore/sqlite.hh +++ b/src/libstore/sqlite.hh @@ -31,6 +31,7 @@ struct SQLiteStmt sqlite3 * db = 0; sqlite3_stmt * stmt = 0; SQLiteStmt() { } + SQLiteStmt(sqlite3 * db, const std::string & s) { create(db, s); } void create(sqlite3 * db, const std::string & s); ~SQLiteStmt(); operator sqlite3_stmt * () { return stmt; } |