mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#10137 LMDB: Allow users to define MDB_IDL_LOGN
This commit is contained in:
parent
ea975636ab
commit
95670e37c9
1 changed files with 2 additions and 0 deletions
|
|
@ -56,7 +56,9 @@ typedef MDB_ID *MDB_IDL;
|
|||
/* IDL sizes - likely should be even bigger
|
||||
* limiting factors: sizeof(ID), thread stack size
|
||||
*/
|
||||
#ifndef MDB_IDL_LOGN
|
||||
#define MDB_IDL_LOGN 16 /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
|
||||
#endif
|
||||
#define MDB_IDL_DB_SIZE (1<<MDB_IDL_LOGN)
|
||||
#define MDB_IDL_UM_SIZE (1<<(MDB_IDL_LOGN+1))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue