mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
Merge remote-tracking branch 'origin/mdb.RE/0.9'
This commit is contained in:
commit
94d6581b50
@ -7690,10 +7690,10 @@ mdb_rebalance(MDB_cursor *mc)
|
||||
indx_t oldki;
|
||||
|
||||
if (IS_BRANCH(mc->mc_pg[mc->mc_top])) {
|
||||
minkeys = 1;
|
||||
minkeys = 2;
|
||||
thresh = 1;
|
||||
} else {
|
||||
minkeys = 2;
|
||||
minkeys = 1;
|
||||
thresh = FILL_THRESHOLD;
|
||||
}
|
||||
DPRINTF(("rebalancing %s page %"Z"u (has %u keys, %.1f%% full)",
|
||||
|
Loading…
Reference in New Issue
Block a user