]> 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:31:56 +0000 (17:31 +0100)
libraries/liblmdb/mdb.c

index b5719e7e6ce700673284aec666692a954f58679c..c2da869ac3a0284727bf1c1890607a8907db723b 100644 (file)
@@ -7892,10 +7892,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)",