mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-21 20:29:29 +08:00
mdbx: fix typo which lead any error conversion to the 1
.
This commit is contained in:
@@ -13430,7 +13430,7 @@ __hot static int mdbx_page_search(MDBX_cursor *mc, const MDBX_val *key,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
while (unlikely((scan = scan->mt_parent) != nullptr));
|
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;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user