From: Hallvard Furuseth Date: Sat, 4 Jul 2015 11:42:41 +0000 (+0200) Subject: mdb_env_get_flags(): Hide internal flags X-Git-Tag: LMDB_0.9.17~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a36f7a7fc2128b3a6c9ac5b029c111904d28f49e;p=openldap mdb_env_get_flags(): Hide internal flags --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 1cb99e7a91..410981e989 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -9157,7 +9157,7 @@ mdb_env_get_flags(MDB_env *env, unsigned int *arg) if (!env || !arg) return EINVAL; - *arg = env->me_flags; + *arg = env->me_flags & (CHANGEABLE|CHANGELESS); return MDB_SUCCESS; }