From 862e3c1f3b612d91251fc45fe16e681470f5e5b3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 Mar 2021 15:41:21 +0300 Subject: no, this crutch is used... --- plugins/Dbx_mdbx/src/dbevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3