mdbx: minor fix mdbx_page_new() debug output.

Change-Id: I2f386ec6276cab404607b5c3a79d8028d73dad62
This commit is contained in:
Leonid Yuriev 2021-01-10 13:46:57 +03:00
parent ca597f4314
commit ac0f4e14a8

View File

@ -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;