summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbintf.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-26 20:14:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-26 20:14:44 +0300
commit9285557d9f8a2ee7b06d483aed1735c9888f8aff (patch)
tree147709ae148770ad9b55daee587f9f65775073fa /plugins/Dbx_mdbx/src/dbintf.cpp
parenta076ee7deea97716cfdce8905d5361df98ad9424 (diff)
fix for system history processing
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index ee0c7b8e3c..79f5f0a4f1 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -96,6 +96,11 @@ int CDbxMDBX::Load(bool bSkipInit)
data.iov_base = &m_header; data.iov_len = sizeof(m_header);
mdbx_put(trnlck, m_dbGlobal, &key, &data, 0);
}
+
+ keyVal = 2;
+ if (mdbx_get(trnlck, m_dbGlobal, &key, &data) == MDBX_SUCCESS)
+ m_ccDummy.dbc = *(const DBContact*)data.iov_base;
+
trnlck.commit();
}
{