diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01T16·36+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01T16·36+0000 |
commit | d822bf32e470e46a3634638fee3c4b1472d2cd26 (patch) | |
tree | 031d79cc5f4bd420d3a601ab8de923d351b59766 /src/libstore/store.hh | |
parent | fa95f4be3f4df6ebe4d49ec57a66129f645e36c7 (diff) |
* Close the database before the destructor runs.
Diffstat (limited to 'src/libstore/store.hh')
-rw-r--r-- | src/libstore/store.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/store.hh b/src/libstore/store.hh index c617585bab96..a170c69e7477 100644 --- a/src/libstore/store.hh +++ b/src/libstore/store.hh @@ -49,6 +49,9 @@ void openDB(bool reserveSpace = true); /* Create the required database tables. */ void initDB(); +/* Close the database. */ +void closeDB(); + /* Get a transaction object. */ void createStoreTransaction(Transaction & txn); |