aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2016-06-07 23:38:47 +0100
committerHoward Chu <hyc@symas.com>2016-06-07 23:38:47 +0100
commitd6f5d543a5ffe2173886d33d4343fa46c38380c4 (patch)
treed05e45c238cc6ea0b01536227e7b02b632eb8fe9 /external/db_drivers
parentMerge pull request #854 (diff)
downloadmonero-d6f5d543a5ffe2173886d33d4343fa46c38380c4.tar.xz
Fix Issue #855
Use the same size dirty list for both 64 and 32 bit.
Diffstat (limited to 'external/db_drivers')
-rw-r--r--external/db_drivers/liblmdb/midl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/external/db_drivers/liblmdb/midl.h b/external/db_drivers/liblmdb/midl.h
index e16aa0c3c..1555ecb19 100644
--- a/external/db_drivers/liblmdb/midl.h
+++ b/external/db_drivers/liblmdb/midl.h
@@ -60,11 +60,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))