mdbx: fix copy&paste typo inside meta_checktxnid().

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-07-07 17:54:13 +03:00
parent f16bee8fa1
commit 81ea7bd41e

View File

@ -7846,7 +7846,7 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta,
likely(magic_and_version == MDBX_DATA_MAGIC)))) { likely(magic_and_version == MDBX_DATA_MAGIC)))) {
if (report) if (report)
mdbx_warning( mdbx_warning(
"catch invalid %sdb_mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN "catch invalid %sdb.mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN
" %s", " %s",
"free", freedb_mod_txnid, head_txnid, "free", freedb_mod_txnid, head_txnid,
"(workaround for incoherent flaw of unified page/buffer cache)"); "(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)))) { likely(magic_and_version == MDBX_DATA_MAGIC)))) {
if (report) if (report)
mdbx_warning( mdbx_warning(
"catch invalid %sdb_mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN "catch invalid %sdb.mod_txnid %" PRIaTXN " for meta_txnid %" PRIaTXN
" %s", " %s",
"main", maindb_mod_txnid, head_txnid, "main", maindb_mod_txnid, head_txnid,
"(workaround for incoherent flaw of unified page/buffer cache)"); "(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) if (report)
mdbx_warning( mdbx_warning(
"catch invalid root_page_txnid %" PRIaTXN "catch invalid root_page_txnid %" PRIaTXN
" for %sdb_mod_txnid %" PRIaTXN " %s", " for %sdb.mod_txnid %" PRIaTXN " %s",
root_txnid, "free", maindb_mod_txnid, root_txnid, "free", freedb_mod_txnid,
"(workaround for incoherent flaw of unified page/buffer cache)"); "(workaround for incoherent flaw of unified page/buffer cache)");
ok = false; ok = false;
} }
@ -7887,7 +7887,7 @@ static bool meta_checktxnid(const MDBX_env *env, const MDBX_meta *meta,
if (report) if (report)
mdbx_warning( mdbx_warning(
"catch invalid root_page_txnid %" PRIaTXN "catch invalid root_page_txnid %" PRIaTXN
" for %sdb_mod_txnid %" PRIaTXN " %s", " for %sdb.mod_txnid %" PRIaTXN " %s",
root_txnid, "main", maindb_mod_txnid, root_txnid, "main", maindb_mod_txnid,
"(workaround for incoherent flaw of unified page/buffer cache)"); "(workaround for incoherent flaw of unified page/buffer cache)");
ok = false; ok = false;