mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
ITS#8237 fix ITS#7589 regression
This commit is contained in:
parent
e9e3c9fb51
commit
7e476e4983
1 changed files with 1 additions and 1 deletions
|
|
@ -8370,7 +8370,7 @@ mdb_page_split(MDB_cursor *mc, MDB_val *newkey, MDB_val *newdata, pgno_t newpgno
|
|||
psize = 0;
|
||||
if (newindx <= split_indx || newindx >= nkeys) {
|
||||
i = 0; j = 1;
|
||||
k = newindx >= nkeys ? nkeys : split_indx+2;
|
||||
k = newindx >= nkeys ? nkeys : split_indx+1+IS_LEAF(mp);
|
||||
} else {
|
||||
i = nkeys; j = -1;
|
||||
k = split_indx-1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue