mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-21 17:38:20 +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) {
|
void mdbx_txn_unlock(MDBX_env *env) {
|
||||||
int rc = (env->me_flags & MDBX_EXCLUSIVE) ? TRUE
|
int rc =
|
||||||
: funlock(env->me_fd, LCK_BODY);
|
(env->me_flags & MDBX_EXCLUSIVE) ? TRUE : funlock(env->me_fd, LCK_BODY);
|
||||||
LeaveCriticalSection(&env->me_windowsbug_lock);
|
LeaveCriticalSection(&env->me_windowsbug_lock);
|
||||||
if (!rc)
|
if (!rc)
|
||||||
mdbx_panic("%s failed: errcode %u", mdbx_func_, GetLastError());
|
mdbx_panic("%s failed: errcode %u", mdbx_func_, GetLastError());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user