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

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

View File

@ -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;