]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
MDB_VL32
authorHoward Chu <hyc@openldap.org>
Tue, 7 Jun 2016 22:38:47 +0000 (23:38 +0100)
committerHoward Chu <hyc@openldap.org>
Sat, 1 Jul 2017 20:59:44 +0000 (21:59 +0100)
Use the same size dirty list for both 64 and 32 bit.

libraries/liblmdb/midl.h

index 39a87b52c222f9cbfe08022e89c652a478e17640..48591dd7721f06ab57af8ee3dab84e99b920edfc 100644 (file)
@@ -56,11 +56,7 @@ typedef MDB_ID *MDB_IDL;
 /* IDL sizes - likely should be even bigger
  *   limiting factors: sizeof(ID), thread stack size
  */
-#ifdef MDB_VL32
-#define        MDB_IDL_LOGN    14      /* DB_SIZE is 2^14, UM_SIZE is 2^15 */
-#else
 #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))