summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/dbevents.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-27 16:18:55 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-27 16:18:55 +0000
commit60f69a369747444ced2209bcf19ab0a379acc681 (patch)
tree21156f13fea1600adb113f2ca7fba4fc2fa4573e /plugins/Dbx_mdb/src/dbevents.cpp
parent411735c18a498b8a5aafd32ba1c8cae3ff52c650 (diff)
dbx_lmdb: one more contact deletion fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16365 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_mdb/src/dbevents.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Dbx_mdb/src/dbevents.cpp b/plugins/Dbx_mdb/src/dbevents.cpp
index bee0cffcc8..03bd186165 100644
--- a/plugins/Dbx_mdb/src/dbevents.cpp
+++ b/plugins/Dbx_mdb/src/dbevents.cpp
@@ -244,6 +244,7 @@ void CDbxMdb::FindNextUnread(const txn_ptr &txn, DBCachedContact *cc, DBEventSor
MDB_val key = { sizeof(key2), &key2 }, data;
key2.dwEventId++;
+
mdb_cursor_get(cursor, &key, &data, MDB_SET_KEY);
while (mdb_cursor_get(cursor, &key, &data, MDB_NEXT) == 0) {
DBEvent *dbe = (DBEvent*)data.mv_data;