mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
Additional fix for prev commit
This commit is contained in:
parent
4272e7de4f
commit
02abfb91ba
1 changed files with 3 additions and 2 deletions
|
|
@ -3695,8 +3695,9 @@ top:
|
||||||
offset = NODESIZE + sizeof(indx_t) + data->mv_size;
|
offset = NODESIZE + sizeof(indx_t) + data->mv_size;
|
||||||
}
|
}
|
||||||
offset += offset & 1;
|
offset += offset & 1;
|
||||||
if (NODESIZE + NODEKSZ(leaf) + NODEDSZ(leaf) + offset >=
|
if (NODESIZE + sizeof(indx_t) + NODEKSZ(leaf) + NODEDSZ(leaf) +
|
||||||
(mc->mc_txn->mt_env->me_psize - PAGEHDRSZ) / MDB_MINKEYS) {
|
offset >= (mc->mc_txn->mt_env->me_psize - PAGEHDRSZ) /
|
||||||
|
MDB_MINKEYS) {
|
||||||
/* yes, convert it */
|
/* yes, convert it */
|
||||||
dummy.md_flags = 0;
|
dummy.md_flags = 0;
|
||||||
if (mc->mc_db->md_flags & MDB_DUPFIXED) {
|
if (mc->mc_db->md_flags & MDB_DUPFIXED) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue