From 84b6ecb9a80fc9230da609a49e0af08dd0a63109 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 4 Jul 2015 13:42:41 +0200 Subject: [PATCH] lmdb: Hide internal flags in mdb_env_get_flags(). Change-Id: I9ff2888a61a53fb0c7471de980ec7b97c59c6096 --- mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdb.c b/mdb.c index c9083ee8..fd4647ad 100644 --- a/mdb.c +++ b/mdb.c @@ -8967,7 +8967,7 @@ mdb_env_get_flags(MDB_env *env, unsigned *arg) if (!env || !arg) return EINVAL; - *arg = env->me_flags; + *arg = env->me_flags & (CHANGEABLE|CHANGELESS); return MDB_SUCCESS; }