From c6edd6fb91bc8bc9596bb0d8e7956141a2ccd47a Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 13 May 2020 16:28:14 +0300 Subject: [PATCH] mdbx: exclude MDBX_NOSUBDIR from persistent flags. --- src/internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internals.h b/src/internals.h index 2154f636..0f60a522 100644 --- a/src/internals.h +++ b/src/internals.h @@ -1280,7 +1280,7 @@ typedef struct MDBX_node { } MDBX_node; #define MDBX_VALID 0x8000 /* DB handle is valid, for me_dbflags */ -#define PERSISTENT_FLAGS (0xffff & ~(MDBX_VALID)) +#define PERSISTENT_FLAGS (0xffff & ~(MDBX_VALID | MDBX_NOSUBDIR)) /* mdbx_dbi_open() flags */ #define VALID_FLAGS \ (MDBX_REVERSEKEY | MDBX_DUPSORT | MDBX_INTEGERKEY | MDBX_DUPFIXED | \