mdbx: fix typo which lead any error conversion to the 1.

This commit is contained in:
Leonid Yuriev 2021-10-14 20:03:37 +03:00
parent edda9515d6
commit 7251f47d5b

View File

@ -13430,7 +13430,7 @@ __hot static int mdbx_page_search(MDBX_cursor *mc, const MDBX_val *key,
break;
}
while (unlikely((scan = scan->mt_parent) != nullptr));
if (unlikely((rc = mdbx_page_get(mc, root, &mc->mc_pg[0], pp_txnid) != 0)))
if (unlikely((rc = mdbx_page_get(mc, root, &mc->mc_pg[0], pp_txnid)) != 0))
return rc;
}