From 81ea7bd41e9ca9c0062cdfb37cbf9e2c7de8e41f 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 12169a8b..49584cf2 100644 --- a/src/core.c +++ b/src/core.c @@ -7846,7 +7846,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, head_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); @@ -7857,7 +7857,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, head_txnid, "(workaround for incoherent flaw of unified page/buffer cache)"); @@ -7872,8 +7872,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; } @@ -7887,7 +7887,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;