mdbx: fix minor typo.

Change-Id: I02ab17d1867e8b1a0b9ef971c9922688eca9dc7c
This commit is contained in:
Leonid Yuriev 2020-05-27 16:02:53 +03:00
parent 1f301e7e6f
commit ea353471d5

View File

@ -16343,7 +16343,7 @@ static int mdbx_dbi_bind(MDBX_txn *txn, const MDBX_dbi dbi, unsigned user_flags,
* = assume that a properly create request with custom flags; * = assume that a properly create request with custom flags;
*/ */
if ((user_flags ^ txn->mt_dbs[dbi].md_flags) & PERSISTENT_FLAGS) { if ((user_flags ^ txn->mt_dbs[dbi].md_flags) & PERSISTENT_FLAGS) {
/* flags ara differs, check other conditions */ /* flags are differs, check other conditions */
if ((!user_flags && (!keycmp || keycmp == txn->mt_dbxs[dbi].md_cmp) && if ((!user_flags && (!keycmp || keycmp == txn->mt_dbxs[dbi].md_cmp) &&
(!datacmp || datacmp == txn->mt_dbxs[dbi].md_dcmp)) || (!datacmp || datacmp == txn->mt_dbxs[dbi].md_dcmp)) ||
user_flags == MDBX_ACCEDE) { user_flags == MDBX_ACCEDE) {