summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-29 17:42:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-29 17:42:33 +0300
commit19a91f4807b868698066b67b1b0c0251ea9ebbf9 (patch)
tree1ac3714674734bcd4d68ab85824d8f15beba3476
parent2ea79395a29fe23777104a0fde0ca505edb33da9 (diff)
more logs
-rw-r--r--plugins/Dbx_mdbx/src/dbcontacts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/dbcontacts.cpp b/plugins/Dbx_mdbx/src/dbcontacts.cpp
index 90a8a4bc90..239cec81b9 100644
--- a/plugins/Dbx_mdbx/src/dbcontacts.cpp
+++ b/plugins/Dbx_mdbx/src/dbcontacts.cpp
@@ -48,6 +48,7 @@ LONG CDbxMDBX::DeleteContact(MCONTACT contactID)
NotifyEventHooks(g_hevContactDeleted, contactID, 0);
// remove event sorting keys owned by contact
+ Netlib_Log(0, "Started wipe history");
{
DBEventSortingKey keyS = { contactID, 0, 0 };
MDBX_val key = { &keyS, sizeof(keyS) }, data;
@@ -74,6 +75,7 @@ LONG CDbxMDBX::DeleteContact(MCONTACT contactID)
}
// remove all contact's settings
+ Netlib_Log(0, "Started wipe settings");
{
DBSettingKey keyS = { contactID, 0, 0 };
MDBX_val key = { &keyS, sizeof(keyS) }, data;
@@ -95,6 +97,7 @@ LONG CDbxMDBX::DeleteContact(MCONTACT contactID)
}
// finally remove the contact itself
+ Netlib_Log(0, "Started wipe contact itself");
MDBX_val key = { &contactID, sizeof(MCONTACT) };
{
txn_ptr trnlck(StartTran());