aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/db.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-05-09 15:25:47 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-05-09 15:25:47 +0000
commit8f57634c1457ced226942024c31e8c3759b1655b (patch)
treeb2d15048d2f1c26918a2b90006ed9562ac7dd3f3 /src/libstore/db.hh
parent88dea78cdfbbf584d8d1de51a7660654de464530 (diff)
* Automatically upgrade the Berkeley DB environment if necessary.
Diffstat (limited to 'src/libstore/db.hh')
-rw-r--r--src/libstore/db.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/db.hh b/src/libstore/db.hh
index 841836492..b962d77bc 100644
--- a/src/libstore/db.hh
+++ b/src/libstore/db.hh
@@ -58,6 +58,8 @@ private:
Db * getDb(TableId table);
+ void open2(const string & path, bool removeOldEnv);
+
public:
Database();
~Database();