aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Chu <hyc@openldap.org>2020-10-11 01:32:30 +0100
committerHoward Chu <hyc@symas.com>2022-06-03 16:46:04 +0100
commitb46a60e3907c597b8b4b272eca357d38534f5e40 (patch)
tree9dae66b7d1fc821bd8832c8b0a06bf13b13ec19d
parentMore RAWPART support (diff)
downloadmonero-b46a60e3907c597b8b4b272eca357d38534f5e40.tar.xz
Fix rawpart flag collision
-rw-r--r--external/db_drivers/liblmdb/mdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/db_drivers/liblmdb/mdb.c b/external/db_drivers/liblmdb/mdb.c
index 52ad844e9..c30a8e52a 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -1467,14 +1467,14 @@ struct MDB_env {
#endif
/** Failed to update the meta page. Probably an I/O error. */
#define MDB_FATAL_ERROR 0x80000000U
+ /** using a raw block device */
+#define MDB_RAWPART 0x40000000U
/** Some fields are initialized. */
#define MDB_ENV_ACTIVE 0x20000000U
/** me_txkey is set */
#define MDB_ENV_TXKEY 0x10000000U
/** fdatasync is unreliable */
#define MDB_FSYNCONLY 0x08000000U
- /** using a raw block device */
-#define MDB_RAWPART 0x04000000U
uint32_t me_flags; /**< @ref mdb_env */
unsigned int me_psize; /**< DB page size, inited from me_os_psize */
unsigned int me_os_psize; /**< OS page size, from #GET_PAGESIZE */