diff --git a/src/core.c b/src/core.c index c1cbe0b1..a3fe4842 100644 --- a/src/core.c +++ b/src/core.c @@ -7772,9 +7772,9 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta, if (unlikely(root_txnid != freedb_mod_txnid)) { if (report) mdbx_warning( - "catch invalid root_page_txnid %" PRIaTXN + "catch invalid root_page %" PRIaPGNO " mod_txnid %" PRIaTXN " for %sdb.mod_txnid %" PRIaTXN " %s", - root_txnid, "free", freedb_mod_txnid, + freedb_root_pgno, root_txnid, "free", freedb_mod_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); ok = false; } @@ -7787,9 +7787,9 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta, if (unlikely(root_txnid != maindb_mod_txnid)) { if (report) mdbx_warning( - "catch invalid root_page_txnid %" PRIaTXN + "catch invalid root_page %" PRIaPGNO " mod_txnid %" PRIaTXN " for %sdb.mod_txnid %" PRIaTXN " %s", - root_txnid, "main", maindb_mod_txnid, + maindb_root_pgno, root_txnid, "main", maindb_mod_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); ok = false; }