From 3cc7f105a5aad9f43a9f9dd8139193d5aff21c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 7 Jul 2022 17:54:13 +0300 Subject: [PATCH] mdbx: fix copy&paste typo inside `meta_checktxnid()`. --- src/core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core.c b/src/core.c index 826b0d72..77a18cd8 100644 --- a/src/core.c +++ b/src/core.c @@ -7746,7 +7746,7 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta, likely(magic_and_version == MDBX_DATA_MAGIC)))) { if (report) mdbx_warning( - "catch invalid %sdb_mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN + "catch invalid %sdb.mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN " %s", "free", freedb_mod_txnid, meta_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); @@ -7757,7 +7757,7 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta, likely(magic_and_version == MDBX_DATA_MAGIC)))) { if (report) mdbx_warning( - "catch invalid %sdb_mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN + "catch invalid %sdb.mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN " %s", "main", maindb_mod_txnid, meta_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); @@ -7772,8 +7772,8 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta, if (report) mdbx_warning( "catch invalid root_page_txnid %" PRIaTXN - " for %sdb_mod_txnid %" PRIaTXN " %s", - root_txnid, "free", maindb_mod_txnid, + " for %sdb.mod_txnid %" PRIaTXN " %s", + root_txnid, "free", freedb_mod_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); ok = false; } @@ -7787,7 +7787,7 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta, if (report) mdbx_warning( "catch invalid root_page_txnid %" PRIaTXN - " for %sdb_mod_txnid %" PRIaTXN " %s", + " for %sdb.mod_txnid %" PRIaTXN " %s", root_txnid, "main", maindb_mod_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); ok = false;