Commit c91f3816 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Drop UNLOCK_MUTEX_R() on mdb_reader_pid() error

parent 4c8f5761
......@@ -2202,10 +2202,8 @@ mdb_txn_renew0(MDB_txn *txn)
if (!(env->me_flags & MDB_LIVE_READER)) {
rc = mdb_reader_pid(env, Pidset, pid);
if (rc) {
UNLOCK_MUTEX_R(env);
if (rc)
return rc;
}
env->me_flags |= MDB_LIVE_READER;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment