mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 15:10:22 -05:00
ITS#7896 fix for mdb_env_map
Don't pass non-NULL map address unless MDB_FIXEDMAP was used.
This commit is contained in:
parent
886ee41d55
commit
9049efe493
1 changed files with 1 additions and 1 deletions
|
|
@ -3841,7 +3841,7 @@ mdb_env_open2(MDB_env *env)
|
|||
env->me_flags |= MDB_RESIZING;
|
||||
}
|
||||
|
||||
rc = mdb_env_map(env, meta.mm_address);
|
||||
rc = mdb_env_map(env, (flags & MDB_FIXEDMAP) ? meta.mm_address : NULL);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue