mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:44:13 +08:00
mdbx: minor fix mdbx_page_new()
debug output.
Change-Id: I2f386ec6276cab404607b5c3a79d8028d73dad62
This commit is contained in:
parent
ca597f4314
commit
ac0f4e14a8
@ -13704,8 +13704,8 @@ static int mdbx_page_new(MDBX_cursor *mc, unsigned flags, unsigned num,
|
||||
if (unlikely((rc = mdbx_page_alloc(mc, num, &np, MDBX_ALLOC_ALL))))
|
||||
return rc;
|
||||
*mp = np;
|
||||
mdbx_debug("allocated new page #%" PRIaPGNO ", size %u", np->mp_pgno,
|
||||
mc->mc_txn->mt_env->me_psize);
|
||||
mdbx_debug("db %u allocated new page #%" PRIaPGNO ", size %u", mc->mc_dbi,
|
||||
np->mp_pgno, mc->mc_txn->mt_env->me_psize);
|
||||
np->mp_flags = (uint16_t)(flags | P_DIRTY);
|
||||
np->mp_txnid = INVALID_TXNID;
|
||||
np->mp_lower = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user