]> git.sur5r.net Git - openldap/blobdiff - libraries/liblmdb/mdb.c
Fix MDB_MAXKEYSIZE doc: Account for MDB_DUPSORT.
[openldap] / libraries / liblmdb / mdb.c
index 19d5f20a5dea488b36ea2fb7d4266da696068c60..484ab2ce04e25d2135bfbe94902205a28cf8bd05 100644 (file)
@@ -373,7 +373,7 @@ static txnid_t mdb_debug_start;
         *
         *      We require that keys all fit onto a regular page. This limit
         *      could be raised a bit further if needed; to something just
-        *      under (page size / #MDB_MINKEYS).
+        *      under (page size / #MDB_MINKEYS / 3).
         *
         *      Note that data items in an #MDB_DUPSORT database are actually keys
         *      of a subDB, so they're also limited to this size.