mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
This commit is contained in:
commit
76c6c8e5b7
1 changed files with 2 additions and 1 deletions
|
|
@ -3695,7 +3695,8 @@ top:
|
|||
offset = NODESIZE + sizeof(indx_t) + data->mv_size;
|
||||
}
|
||||
offset += offset & 1;
|
||||
if (NODEDSZ(leaf) + offset >= mc->mc_txn->mt_env->me_psize / MDB_MINKEYS) {
|
||||
if (NODESIZE + NODEKSZ(leaf) + NODEDSZ(leaf) + offset >=
|
||||
(mc->mc_txn->mt_env->me_psize - PAGEHDRSZ) / MDB_MINKEYS) {
|
||||
/* yes, convert it */
|
||||
dummy.md_flags = 0;
|
||||
if (mc->mc_db->md_flags & MDB_DUPFIXED) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue