From cd72e104e05f62a62f034cebf10c2b171bece2c8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 10 Mar 2015 16:26:57 +0000 Subject: fix for correct transaction processing git-svn-id: http://svn.miranda-ng.org/main/trunk@12375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mdb/src/dbmodulechain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_mdb/src/dbmodulechain.cpp') diff --git a/plugins/Dbx_mdb/src/dbmodulechain.cpp b/plugins/Dbx_mdb/src/dbmodulechain.cpp index a42ab0b221..9342ea3cb1 100644 --- a/plugins/Dbx_mdb/src/dbmodulechain.cpp +++ b/plugins/Dbx_mdb/src/dbmodulechain.cpp @@ -103,7 +103,7 @@ DWORD CDbxMdb::GetModuleNameOfs(const char *szName) for (;; Remap()) { txn_ptr trnlck(m_pMdbEnv); mdb_open(trnlck, "modules", MDB_INTEGERKEY, &m_dbModules); - mdb_put(trnlck, m_dbModules, &key, &data, 0); + MDB_CHECK(mdb_put(trnlck, m_dbModules, &key, &data, 0), -1); if (trnlck.commit()) break; } -- cgit v1.2.3