mdbx: drop unused mdbx_lck_upgrade().

This commit is contained in:
Leo Yuriev
2018-08-01 18:16:40 +03:00
parent da98692273
commit 5a1f388db5
3 changed files with 0 additions and 48 deletions

View File

@@ -90,8 +90,6 @@ int mdbx_lck_downgrade(MDBX_env *env, bool complete) {
return complete ? mdbx_lck_shared(env->me_lfd) : MDBX_SUCCESS;
}
int mdbx_lck_upgrade(MDBX_env *env) { return mdbx_lck_exclusive(env->me_lfd); }
int mdbx_rpid_set(MDBX_env *env) {
assert(env->me_lfd != INVALID_HANDLE_VALUE);
return mdbx_lck_op(env->me_lfd, F_SETLK, F_WRLCK, env->me_pid, 1);