From f57a38b109dbea26239a1cc001ff4b608006af6d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 27 Jan 2017 12:57:49 +0100 Subject: Remove unused NARExistence table --- src/libstore/nar-info-disk-cache.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/libstore') diff --git a/src/libstore/nar-info-disk-cache.cc b/src/libstore/nar-info-disk-cache.cc index d28ff42c7..ff4bd651a 100644 --- a/src/libstore/nar-info-disk-cache.cc +++ b/src/libstore/nar-info-disk-cache.cc @@ -36,15 +36,6 @@ create table if not exists NARs ( foreign key (cache) references BinaryCaches(id) on delete cascade ); -create table if not exists NARExistence ( - cache integer not null, - storePath text not null, - exist integer not null, - timestamp integer not null, - primary key (cache, storePath), - foreign key (cache) references BinaryCaches(id) on delete cascade -); - )sql"; class NarInfoDiskCacheImpl : public NarInfoDiskCache @@ -155,7 +146,6 @@ public: auto queryNAR(state->queryNAR.use()(cache.id)(hashPart)); if (!queryNAR.next()) - // FIXME: check NARExistence return {oUnknown, 0}; if (!queryNAR.getInt(13)) -- cgit v1.2.3