We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa95ec commit 3b50b26Copy full SHA for 3b50b26
src/collection/backend/lmdb.cc
@@ -40,11 +40,6 @@ namespace backend {
40
LMDB::LMDB(std::string name) :
41
Collection(name), m_env(NULL), isOpen(false) {}
42
43
-
44
-LMDB::~LMDB() {
45
- mdb_env_close(m_env);
46
-}
47
48
int LMDB::txn_begin(unsigned int flags, MDB_txn **ret) {
49
if (!isOpen) {
50
MDBEnvProvider* provider = MDBEnvProvider::GetInstance();
src/collection/backend/lmdb.h
@@ -99,7 +99,6 @@ class LMDB :
99
public Collection {
100
public:
101
explicit LMDB(std::string name);
102
- ~LMDB();
103
void store(std::string key, std::string value) override;
104
105
bool storeOrUpdateFirst(const std::string &key,
0 commit comments