mdbx: minor fix mdbx_page_new() debug output.

Change-Id: If60f972cc3271ca91feea923fb4f4be48d488b22
This commit is contained in:
Leonid Yuriev 2021-01-10 13:50:11 +03:00
parent ac0f4e14a8
commit dfc92d9f96

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("db %u allocated new page #%" PRIaPGNO ", size %u", mc->mc_dbi,
np->mp_pgno, mc->mc_txn->mt_env->me_psize);
mdbx_debug("db %u allocated new page %" PRIaPGNO ", num %u", mc->mc_dbi,
np->mp_pgno, num);
np->mp_flags = (uint16_t)(flags | P_DIRTY);
np->mp_txnid = INVALID_TXNID;
np->mp_lower = 0;