mdbx: minor fix return MDBX_EBADSIGN.

Change-Id: Ia0da8b4c2a5f0776688c92ad50433eed5e83b73c
This commit is contained in:
Leonid Yuriev 2020-05-07 10:19:56 +03:00
parent 9428efd2ae
commit 8ee3c6ddb0

View File

@ -18193,7 +18193,7 @@ int mdbx_set_attr(MDBX_txn *txn, MDBX_dbi dbi, MDBX_val *key, MDBX_val *data,
return MDBX_EINVAL;
if (unlikely(txn->mt_signature != MDBX_MT_SIGNATURE))
return MDBX_VERSION_MISMATCH;
return MDBX_EBADSIGN;
if (unlikely(!TXN_DBI_EXIST(txn, dbi, DB_USRVALID)))
return MDBX_EINVAL;