mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#7793 more for branch key update
This commit is contained in:
parent
9cf1749f73
commit
ae0c9f484d
1 changed files with 3 additions and 1 deletions
|
|
@ -6063,7 +6063,9 @@ fix_parent:
|
||||||
if (mc->mc_top && !mc->mc_ki[mc->mc_top]) {
|
if (mc->mc_top && !mc->mc_ki[mc->mc_top]) {
|
||||||
unsigned short top = mc->mc_top;
|
unsigned short top = mc->mc_top;
|
||||||
mc->mc_top--;
|
mc->mc_top--;
|
||||||
/* slot 0 is always an empty key, needs no update */
|
/* slot 0 is always an empty key, find real slot */
|
||||||
|
while (mc->mc_top && !mc->mc_ki[mc->mc_top])
|
||||||
|
mc->mc_top--;
|
||||||
if (mc->mc_ki[mc->mc_top])
|
if (mc->mc_ki[mc->mc_top])
|
||||||
rc2 = mdb_update_key(mc, key);
|
rc2 = mdb_update_key(mc, key);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue