mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:54:14 +08:00
mdbx: не игнорируем ошибки при открытии дескриптора с O_DSYNC.
This commit is contained in:
parent
957c99d86f
commit
245a782912
@ -14682,6 +14682,8 @@ __cold int mdbx_env_openW(MDBX_env *env, const wchar_t *pathname,
|
||||
if (!(flags & (MDBX_RDONLY | MDBX_SAFE_NOSYNC | MDBX_DEPRECATED_MAPASYNC))) {
|
||||
rc = osal_openfile(MDBX_OPEN_DXB_DSYNC, env, env_pathname.dxb,
|
||||
&env->me_dsync_fd, 0);
|
||||
if (MDBX_IS_ERROR(rc))
|
||||
goto bailout;
|
||||
if (env->me_dsync_fd != INVALID_HANDLE_VALUE) {
|
||||
if ((flags & MDBX_NOMETASYNC) == 0)
|
||||
env->me_fd4meta = env->me_dsync_fd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user