ITS#10454 LMDB: fix prev commit for Mac OSX + WRITEMAP

This commit is contained in:
Kerollmops 2026-04-27 13:24:44 +02:00 committed by Howard Chu
parent 134e5ace04
commit 4e8a093a86

View file

@ -4885,7 +4885,7 @@ mdb_env_write_meta(MDB_txn *txn)
goto fail;
}
#if defined(__APPLE__)
if (MDB_FDATASYNC(env->me_mfd)) {
if (MDB_FDATASYNC(env->me_fd)) {
rc = ErrCode();
goto fail;
}