diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-21 15:41:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-21 15:41:21 +0300 |
commit | 862e3c1f3b612d91251fc45fe16e681470f5e5b3 (patch) | |
tree | f0c404f0b4b128535e922a196e35b23bdfaeec25 /plugins/Dbx_mdbx/src | |
parent | 368611ceedca2c4c37e435ee2da34775eaf06109 (diff) |
no, this crutch is used...
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r-- | plugins/Dbx_mdbx/src/dbevents.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/dbevents.cpp b/plugins/Dbx_mdbx/src/dbevents.cpp index 09baddc8a4..2c9a1d71f0 100644 --- a/plugins/Dbx_mdbx/src/dbevents.cpp +++ b/plugins/Dbx_mdbx/src/dbevents.cpp @@ -282,7 +282,7 @@ LONG CDbxMDBX::GetBlobSize(MEVENT hDbEvent) {
MDBX_val key = { &hDbEvent, sizeof(MEVENT) }, data;
if (mdbx_get(StartTran(), m_dbEvents, &key, &data) != MDBX_SUCCESS)
- return 0;
+ return -1;
return ((const DBEvent*)data.iov_base)->cbBlob;
}
|