summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/dbcontacts.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-19 18:22:47 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-19 18:22:47 +0000
commitf1ed7196eb270b02eefa3fdb7cebb8df9bb04bd9 (patch)
treec5c76f649b8065018d4d1189c84a70b7ef090bc3 /plugins/Dbx_mdb/src/dbcontacts.cpp
parentbb9b9046f5749d13f83b3c2fe8a47b6d3fd6994e (diff)
dbx_lmdb: last commit temporary reverted
git-svn-id: http://svn.miranda-ng.org/main/trunk@16312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbcontacts.cpp')
-rw-r--r--plugins/Dbx_mdb/src/dbcontacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbcontacts.cpp b/plugins/Dbx_mdb/src/dbcontacts.cpp
index deccf4f4fd..c9e549da8e 100644
--- a/plugins/Dbx_mdb/src/dbcontacts.cpp
+++ b/plugins/Dbx_mdb/src/dbcontacts.cpp
@@ -108,7 +108,7 @@ STDMETHODIMP_(LONG) CDbxMdb::DeleteContact(MCONTACT contactID)
DBEventSortingKey keyVal = { 0, 0, contactID };
key = { sizeof(keyVal), &keyVal }; MDB_val data;
- txn_ptr_ro trnlck(m_pMdbEnv);
+ txn_ptr trnlck(m_pMdbEnv, true);
cursor_ptr cursor(trnlck, m_dbEventsSort);
mdb_cursor_get(cursor, &key, &data, MDB_SET);
while (mdb_cursor_get(cursor, &key, &data, MDB_NEXT) == MDB_SUCCESS)