Fix rawpart flag collision

This commit is contained in:
Howard Chu 2020-10-11 01:32:30 +01:00 committed by Howard Chu
parent 4e7586c9e4
commit b46a60e390
No known key found for this signature in database
GPG Key ID: FD2A70B44AB11BA7

View File

@ -1467,14 +1467,14 @@ struct MDB_env {
#endif #endif
/** Failed to update the meta page. Probably an I/O error. */ /** Failed to update the meta page. Probably an I/O error. */
#define MDB_FATAL_ERROR 0x80000000U #define MDB_FATAL_ERROR 0x80000000U
/** using a raw block device */
#define MDB_RAWPART 0x40000000U
/** Some fields are initialized. */ /** Some fields are initialized. */
#define MDB_ENV_ACTIVE 0x20000000U #define MDB_ENV_ACTIVE 0x20000000U
/** me_txkey is set */ /** me_txkey is set */
#define MDB_ENV_TXKEY 0x10000000U #define MDB_ENV_TXKEY 0x10000000U
/** fdatasync is unreliable */ /** fdatasync is unreliable */
#define MDB_FSYNCONLY 0x08000000U #define MDB_FSYNCONLY 0x08000000U
/** using a raw block device */
#define MDB_RAWPART 0x04000000U
uint32_t me_flags; /**< @ref mdb_env */ uint32_t me_flags; /**< @ref mdb_env */
unsigned int me_psize; /**< DB page size, inited from me_os_psize */ unsigned int me_psize; /**< DB page size, inited from me_os_psize */
unsigned int me_os_psize; /**< OS page size, from #GET_PAGESIZE */ unsigned int me_os_psize; /**< OS page size, from #GET_PAGESIZE */