|
|
@ -4846,7 +4846,7 @@ mdb_env_setup_locks(MDB_env *env, char *lpath, int mode, int *excl) |
|
|
|
if (rc == MDB_ERRCODE_ROFS && (env->me_flags & MDB_RDONLY)) { |
|
|
|
if (rc == MDB_ERRCODE_ROFS && (env->me_flags & MDB_RDONLY)) { |
|
|
|
return MDB_SUCCESS; |
|
|
|
return MDB_SUCCESS; |
|
|
|
} |
|
|
|
} |
|
|
|
goto fail_errno; |
|
|
|
goto fail; |
|
|
|
} |
|
|
|
} |
|
|
|
#if ! ((MDB_CLOEXEC) || defined(_WIN32)) |
|
|
|
#if ! ((MDB_CLOEXEC) || defined(_WIN32)) |
|
|
|
/* Lose record locks when exec*() */ |
|
|
|
/* Lose record locks when exec*() */ |
|
|
|