aboutsummaryrefslogtreecommitdiff
path: root/src/globals.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-15 12:42:39 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-15 12:42:39 +0000
commitebff82222c7b946e70e539389c0027529b6c7ad0 (patch)
tree4f3352f66c91f6f21ef47b1b07f763f4be0ffeb0 /src/globals.cc
parent5fc71276430e8e6a4588fa54da692f81d5ada585 (diff)
* Refactoring: move all database manipulation into store.cc.
* Removed `--query --generators'.
Diffstat (limited to 'src/globals.cc')
-rw-r--r--src/globals.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/globals.cc b/src/globals.cc
index 22d2758b6..a292b49ae 100644
--- a/src/globals.cc
+++ b/src/globals.cc
@@ -1,37 +1,8 @@
#include "globals.hh"
-#include "db.hh"
-
-
-Database nixDB;
-
-
-TableId dbValidPaths;
-TableId dbSuccessors;
-TableId dbSuccessorsRev;
-TableId dbSubstitutes;
-TableId dbSubstitutesRev;
-
string nixStore = "/UNINIT";
string nixDataDir = "/UNINIT";
string nixLogDir = "/UNINIT";
string nixDBPath = "/UNINIT";
-
bool keepFailed = false;
-
-
-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");
-}
-
-
-void initDB()
-{
-}