Skip to content

Commit

Permalink
Revert cache version
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 13, 2023
1 parent fa8618f commit 144987e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libfetchers/cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct CacheImpl : Cache
struct State
{
SQLite db;
SQLiteStmt add, lookup, upsertFact, queryFact;
SQLiteStmt add, lookup;
};

Sync<State> _state;
Expand All @@ -36,7 +36,7 @@ struct CacheImpl : Cache
{
auto state(_state.lock());

auto dbPath = getCacheDir() + "/nix/fetcher-cache-v2.sqlite";
auto dbPath = getCacheDir() + "/nix/fetcher-cache-v1.sqlite";
createDirs(dirOf(dbPath));

state->db = SQLite(dbPath);
Expand Down

0 comments on commit 144987e

Please sign in to comment.