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

Periodically purge binary-cache.sqlite

This commit is contained in:
Eelco Dolstra 2017-01-27 15:19:33 +01:00
parent 211bc7f0e6
commit cb1951e746
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 31 additions and 1 deletions

View file

@ -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; }