diff --git a/src/libfetchers/cache.cc b/src/libfetchers/cache.cc index 3f3b84f6cd4..8a3e462d313 100644 --- a/src/libfetchers/cache.cc +++ b/src/libfetchers/cache.cc @@ -27,7 +27,7 @@ struct CacheImpl : Cache struct State { SQLite db; - SQLiteStmt add, lookup, upsertFact, queryFact; + SQLiteStmt add, lookup; }; Sync _state; @@ -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);