aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb
diff options
context:
space:
mode:
Diffstat (limited to 'external/db_drivers/liblmdb')
-rw-r--r--external/db_drivers/liblmdb/mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/db_drivers/liblmdb/mdb.c b/external/db_drivers/liblmdb/mdb.c
index 3b2745f95..8e67d5981 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -9641,7 +9641,7 @@ mdb_page_split(MDB_cursor *mc, MDB_val *newkey, MDB_val *newdata, pgno_t newpgno
* the split so the new page is emptier than the old page.
* This yields better packing during sequential inserts.
*/
- if (nkeys < 20 || nsize > pmax/16 || newindx >= nkeys) {
+ if (nkeys < 32 || nsize > pmax/16 || newindx >= nkeys) {
/* Find split point */
psize = 0;
if (newindx <= split_indx || newindx >= nkeys) {