mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
init_meta should write mapsize
Was leaving it 0 initially.
This commit is contained in:
parent
0702fbd688
commit
82b97a8af0
@ -2493,6 +2493,7 @@ mdb_env_init_meta(MDB_env *env, MDB_meta *meta)
|
|||||||
|
|
||||||
meta->mm_magic = MDB_MAGIC;
|
meta->mm_magic = MDB_MAGIC;
|
||||||
meta->mm_version = MDB_VERSION;
|
meta->mm_version = MDB_VERSION;
|
||||||
|
meta->mm_mapsize = env->me_mapsize;
|
||||||
meta->mm_psize = psize;
|
meta->mm_psize = psize;
|
||||||
meta->mm_last_pg = 1;
|
meta->mm_last_pg = 1;
|
||||||
meta->mm_flags = env->me_flags & 0xffff;
|
meta->mm_flags = env->me_flags & 0xffff;
|
||||||
|
Loading…
Reference in New Issue
Block a user