mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:34:13 +08:00
mdbx: fix wrong }
oops-like typo.
This is a `devel`-only 3-days old regression since a4a35ce9cb7176b914e0606d38c6d6e47a9431f1.
This commit is contained in:
parent
ac4b6d7121
commit
0018164fef
12
src/core.c
12
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user