about summary refs log tree commit diff
path: root/src/globals.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-10T14·46+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-10T14·46+0000
commitd3d5e77810cca11cca95bbb6f0f5e15d23f31eea (patch)
tree09693dd9f6711576a587a37a20194cd82f75a45d /src/globals.cc
parent1eb4da156cca1b1981ab1f60bb9797ed1e93101a (diff)
* Reverse mappings for the successor and substitute mappings.
Diffstat (limited to 'src/globals.cc')
-rw-r--r--src/globals.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.cc b/src/globals.cc
index f34f8f1029c5..22d2758b61b0 100644
--- a/src/globals.cc
+++ b/src/globals.cc
@@ -7,7 +7,9 @@ Database nixDB;
 
 TableId dbValidPaths;
 TableId dbSuccessors;
+TableId dbSuccessorsRev;
 TableId dbSubstitutes;
+TableId dbSubstitutesRev;
 
 
 string nixStore = "/UNINIT";
@@ -24,7 +26,9 @@ void openDB()
     nixDB.open(nixDBPath);
     dbValidPaths = nixDB.openTable("validpaths");
     dbSuccessors = nixDB.openTable("successors");
+    dbSuccessorsRev = nixDB.openTable("successors-rev");
     dbSubstitutes = nixDB.openTable("substitutes");
+    dbSubstitutesRev = nixDB.openTable("substitutes-rev");
 }