about summary refs log tree commit diff
path: root/src/libstore/nar-info-disk-cache.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-01-27T11·57+0100
committerEelco Dolstra <edolstra@gmail.com>2017-01-27T11·57+0100
commitf57a38b109dbea26239a1cc001ff4b608006af6d (patch)
tree92ca53c40ed26ef69d82f5f33db3afca830ee68b /src/libstore/nar-info-disk-cache.cc
parentc2b0d8749f7e77afc1c4b3e8dd36b7ee9720af4a (diff)
Remove unused NARExistence table
Diffstat (limited to 'src/libstore/nar-info-disk-cache.cc')
-rw-r--r--src/libstore/nar-info-disk-cache.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstore/nar-info-disk-cache.cc b/src/libstore/nar-info-disk-cache.cc
index d28ff42c7f23..ff4bd651aa53 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))