summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-12 16:56:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-12 16:56:14 +0000
commit2d1dc453e3550d8f8b3796a376f26e7ddee58caa (patch)
tree8955eba5229dc336cfcea5c95a012804e7a04de1 /plugins/Dbx_mdb/src/init.cpp
parent256658520668e10007764fe9054e48b7a286c3fd (diff)
fix for the LMDB profile sharing
git-svn-id: http://svn.miranda-ng.org/main/trunk@12387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/init.cpp')
-rw-r--r--plugins/Dbx_mdb/src/init.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Dbx_mdb/src/init.cpp b/plugins/Dbx_mdb/src/init.cpp
index b728c89bf0..dbda5a9499 100644
--- a/plugins/Dbx_mdb/src/init.cpp
+++ b/plugins/Dbx_mdb/src/init.cpp
@@ -57,9 +57,6 @@ static int makeDatabase(const TCHAR *profile)
static int grokHeader(const TCHAR *profile)
{
std::auto_ptr<CDbxMdb> db(new CDbxMdb(profile, DBMODE_SHARED | DBMODE_READONLY));
- if (db->Load(true) != ERROR_SUCCESS)
- return EGROKPRF_CANTREAD;
-
return db->Check();
}