https://bugs.openldap.org/show_bug.cgi?id=9769
--- Comment #4 from Howard Chu hyc@openldap.org --- (In reply to rouzier@gmail.com from comment #3)
MDB_GET_MULTIPLE only works on MDB_DUPFIXED.
mdb_cursor_get_batch retrieves a page worth of key/values on a "regular" db. This is to reduce the number of function calls when scanning the database.
Please provide benchmarks showing the call overhead that this patch saves.