]> git.sur5r.net Git - openldap/commitdiff
ITS#8221 fix typos
authorHoward Chu <hyc@openldap.org>
Tue, 29 Sep 2015 16:31:56 +0000 (17:31 +0100)
committerHoward Chu <hyc@openldap.org>
Tue, 29 Sep 2015 16:32:25 +0000 (17:32 +0100)
libraries/liblmdb/mdb.c

index 50d359ebb007b12b1e3bd4c0cac763482dcd3558..4a251f2e1cf7732dd38d00fbe75f42e87ed0659f 100644 (file)
@@ -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)",