]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix rawpart flag collision
authorHoward Chu <hyc@openldap.org>
Sun, 11 Oct 2020 00:32:30 +0000 (01:32 +0100)
committerHoward Chu <hyc@openldap.org>
Sun, 11 Oct 2020 00:32:30 +0000 (01:32 +0100)
libraries/liblmdb/mdb.c

index 68d1d212a5d38350ac86591dea2cad407c517212..99c70075f2ababe963871597d478bf95ceac247c 100644 (file)
@@ -1578,14 +1578,14 @@ struct MDB_env {
 #endif /* _WIN32 */
        /** 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 */