about summary refs log tree commit diff
path: root/src/libstore/db.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-12-12T19·14+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-12-12T19·14+0000
commitd87549c1c7bb6f85ff0a019b33b315ace0013e6b (patch)
treeef54e0c9b79ce5419bab05a1e7046edac72a32a5 /src/libstore/db.hh
parent8463f27d8cd09d54648de21c747f895cdb558f83 (diff)
* Automatically delete the old referers table.
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 b7ebd446793d..dd7d76b8cebb 100644
--- a/src/libstore/db.hh
+++ b/src/libstore/db.hh
@@ -65,6 +65,8 @@ public:
     void close();
 
     TableId openTable(const string & table, bool sorted = false);
+    void closeTable(TableId table);
+    void deleteTable(const string & table);
 
     bool queryString(const Transaction & txn, TableId table, 
         const string & key, string & data);