diff options
author | George Hazan <ghazan@miranda.im> | 2020-11-15 14:58:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-11-15 14:58:18 +0300 |
commit | efe255d24291ca83efa9caee3696a8f1451b3b11 (patch) | |
tree | 526e1c6ce5a93e537a2b9b1677eca11b656d8d97 /plugins/Dbx_mdbx/src/dbevents.cpp | |
parent | 93d2f6b311584f7fe92521abbc1285cb35f13def (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.cpp | 6 |
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;
}
|