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; }