From: Howard Chu Date: Tue, 29 Sep 2015 16:31:56 +0000 (+0100) Subject: ITS#8221 fix typos X-Git-Tag: LMDB_0.9.17~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be1795a616e7d550f48cf25335e3c202d966d27d;p=openldap ITS#8221 fix typos --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 50d359ebb0..4a251f2e1c 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -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)",