mdbx: fix wrong } oops-like typo.

This is a `devel`-only 3-days old regression since a4a35ce9cb7176b914e0606d38c6d6e47a9431f1.
This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-07-11 20:19:55 +03:00
parent ac4b6d7121
commit 0018164fef

View File

@ -5999,13 +5999,13 @@ static txnid_t find_oldest_reader(MDBX_env *env) {
break; break;
} }
} }
}
if (new_oldest != prev_oldest) { if (new_oldest != prev_oldest) {
mdbx_verbose("update oldest %" PRIaTXN " -> %" PRIaTXN, prev_oldest, mdbx_verbose("update oldest %" PRIaTXN " -> %" PRIaTXN, prev_oldest,
new_oldest); new_oldest);
mdbx_assert(env, new_oldest >= lck->mti_oldest_reader.weak); mdbx_assert(env, new_oldest >= lck->mti_oldest_reader.weak);
atomic_store64(&lck->mti_oldest_reader, new_oldest, mo_Relaxed); atomic_store64(&lck->mti_oldest_reader, new_oldest, mo_Relaxed);
}
} }
return new_oldest; return new_oldest;
} }