mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-08 05:04:13 +08:00
mdbx: remove needless assert.
This commit is contained in:
parent
01e016e6aa
commit
561d30518a
@ -9911,7 +9911,6 @@ static int mdbx_page_merge(MDBX_cursor *csrc, MDBX_cursor *cdst) {
|
|||||||
|
|
||||||
mdbx_cassert(cdst, cdst->mc_db->md_entries > 0);
|
mdbx_cassert(cdst, cdst->mc_db->md_entries > 0);
|
||||||
mdbx_cassert(cdst, cdst->mc_snum <= cdst->mc_db->md_depth);
|
mdbx_cassert(cdst, cdst->mc_snum <= cdst->mc_db->md_depth);
|
||||||
mdbx_cassert(cdst, cdst->mc_top >= 0);
|
|
||||||
mdbx_cassert(cdst, cdst->mc_snum == cdst->mc_top + 1);
|
mdbx_cassert(cdst, cdst->mc_snum == cdst->mc_top + 1);
|
||||||
|
|
||||||
if (IS_LEAF(cdst->mc_pg[cdst->mc_top])) {
|
if (IS_LEAF(cdst->mc_pg[cdst->mc_top])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user