mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
parent
5ef56b437e
commit
0a359fb629
1 changed files with 3 additions and 2 deletions
|
|
@ -6128,9 +6128,10 @@ mdb_page_split(MDB_cursor *mc, MDB_val *newkey, MDB_val *newdata, pgno_t newpgno
|
|||
psize += NODEDSZ(node);
|
||||
psize += psize & 1;
|
||||
if (psize > pmax) {
|
||||
if (i >= newindx)
|
||||
if (i >= newindx) {
|
||||
split_indx = newindx;
|
||||
else
|
||||
newpos = 0;
|
||||
} else
|
||||
split_indx = i+1;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue