From 0018164fef048b68dd84d503fde95dab5fdea94b 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: Mon, 11 Jul 2022 20:19:55 +0300 Subject: [PATCH] mdbx: fix wrong `}` oops-like typo. This is a `devel`-only 3-days old regression since a4a35ce9cb7176b914e0606d38c6d6e47a9431f1. --- src/core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core.c b/src/core.c index 078ac313..b5a8d6f5 100644 --- a/src/core.c +++ b/src/core.c @@ -5999,13 +5999,13 @@ static txnid_t find_oldest_reader(MDBX_env *env) { break; } } + } - if (new_oldest != prev_oldest) { - mdbx_verbose("update oldest %" PRIaTXN " -> %" PRIaTXN, prev_oldest, - new_oldest); - mdbx_assert(env, new_oldest >= lck->mti_oldest_reader.weak); - atomic_store64(&lck->mti_oldest_reader, new_oldest, mo_Relaxed); - } + if (new_oldest != prev_oldest) { + mdbx_verbose("update oldest %" PRIaTXN " -> %" PRIaTXN, prev_oldest, + new_oldest); + mdbx_assert(env, new_oldest >= lck->mti_oldest_reader.weak); + atomic_store64(&lck->mti_oldest_reader, new_oldest, mo_Relaxed); } return new_oldest; }