about summary refs log tree commit diff
path: root/src/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.cc')
-rw-r--r--src/globals.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/globals.cc b/src/globals.cc
index f21820f59771..f34f8f1029c5 100644
--- a/src/globals.cc
+++ b/src/globals.cc
@@ -5,8 +5,7 @@
 Database nixDB;
 
 
-TableId dbPath2Id;
-TableId dbId2Paths;
+TableId dbValidPaths;
 TableId dbSuccessors;
 TableId dbSubstitutes;
 
@@ -23,8 +22,7 @@ bool keepFailed = false;
 void openDB()
 {
     nixDB.open(nixDBPath);
-    dbPath2Id = nixDB.openTable("path2id");
-    dbId2Paths = nixDB.openTable("id2paths");
+    dbValidPaths = nixDB.openTable("validpaths");
     dbSuccessors = nixDB.openTable("successors");
     dbSubstitutes = nixDB.openTable("substitutes");
 }