From c190f051ac34b2df51402bf593150de97f491d86 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 14 Oct 2003 15:33:00 +0000 Subject: * Automatically recover the database in case of a crash. --- src/db.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/db.hh') diff --git a/src/db.hh b/src/db.hh index 4bac943e554d..e3dc7ce7afe5 100644 --- a/src/db.hh +++ b/src/db.hh @@ -45,6 +45,9 @@ class Database private: DbEnv * env; + int fdLock; + int fdAccessors; + TableId nextId; map tables; @@ -57,6 +60,7 @@ public: ~Database(); void open(const string & path); + void close(); TableId openTable(const string & table); -- cgit 1.4.1