From 2d1dc453e3550d8f8b3796a376f26e7ddee58caa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Mar 2015 16:56:14 +0000 Subject: fix for the LMDB profile sharing git-svn-id: http://svn.miranda-ng.org/main/trunk@12387 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/init.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/Dbx_mdb/src/init.cpp') 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 db(new CDbxMdb(profile, DBMODE_SHARED | DBMODE_READONLY)); - if (db->Load(true) != ERROR_SUCCESS) - return EGROKPRF_CANTREAD; - return db->Check(); } -- cgit v1.2.3