mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:14:12 +08:00
mdbx: cleanup formating (cosmetic).
Change-Id: I4a502fa8e43b9556318628bef05447567e5a98be
This commit is contained in:
parent
40ec114048
commit
9b39b959de
@ -144,8 +144,8 @@ int mdbx_txn_lock(MDBX_env *env, bool dontwait) {
|
||||
}
|
||||
|
||||
void mdbx_txn_unlock(MDBX_env *env) {
|
||||
int rc = (env->me_flags & MDBX_EXCLUSIVE) ? TRUE
|
||||
: funlock(env->me_fd, LCK_BODY);
|
||||
int rc =
|
||||
(env->me_flags & MDBX_EXCLUSIVE) ? TRUE : funlock(env->me_fd, LCK_BODY);
|
||||
LeaveCriticalSection(&env->me_windowsbug_lock);
|
||||
if (!rc)
|
||||
mdbx_panic("%s failed: errcode %u", mdbx_func_, GetLastError());
|
||||
|
Loading…
x
Reference in New Issue
Block a user