mdb_env_get_flags(): Hide internal flags

mdb.RE/0.9
Hallvard Furuseth 10 years ago
parent 600e2b6ce0
commit a36f7a7fc2
  1. 2
      libraries/liblmdb/mdb.c

@ -9157,7 +9157,7 @@ mdb_env_get_flags(MDB_env *env, unsigned int *arg)
if (!env || !arg) if (!env || !arg)
return EINVAL; return EINVAL;
*arg = env->me_flags; *arg = env->me_flags & (CHANGEABLE|CHANGELESS);
return MDB_SUCCESS; return MDB_SUCCESS;
} }

Loading…
Cancel
Save