summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbevents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-11-15 14:58:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-11-15 14:58:18 +0300
commitefe255d24291ca83efa9caee3696a8f1451b3b11 (patch)
tree526e1c6ce5a93e537a2b9b1677eca11b656d8d97 /plugins/Dbx_mdbx/src/dbevents.cpp
parent93d2f6b311584f7fe92521abbc1285cb35f13def (diff)
txn_ptr::abort() not to be mixed with common ::abort()
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbevents.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Dbx_mdbx/src/dbevents.cpp b/plugins/Dbx_mdbx/src/dbevents.cpp
index 3114962438..ff94225bed 100644
--- a/plugins/Dbx_mdbx/src/dbevents.cpp
+++ b/plugins/Dbx_mdbx/src/dbevents.cpp
@@ -131,7 +131,7 @@ BOOL CDbxMDBX::DeleteEvent(MEVENT hDbEvent)
if (mdbx_del(trnlck, m_dbEvents, &key, nullptr) != MDBX_SUCCESS)
return 1;
- if (trnlck.commit() != MDBX_SUCCESS)
+ if (trnlck.Commit() != MDBX_SUCCESS)
return 1;
}
@@ -274,7 +274,7 @@ bool CDbxMDBX::EditEvent(MCONTACT contactID, MEVENT hDbEvent, const DBEVENTINFO
return false;
}
- if (trnlck.commit() != MDBX_SUCCESS)
+ if (trnlck.Commit() != MDBX_SUCCESS)
return false;
}
@@ -448,7 +448,7 @@ BOOL CDbxMDBX::MarkEventRead(MCONTACT contactID, MEVENT hDbEvent)
return -1;
}
- if (trnlck.commit() != MDBX_SUCCESS)
+ if (trnlck.Commit() != MDBX_SUCCESS)
return -1;
}