https://bugs.openldap.org/show_bug.cgi?id=10005
--- Comment #2 from mega.alpha100@gmail.com --- Hmmm Okay,Let me explain my problem. The problem I was having was that: when I opened a named db fn mdb_dbi_open in the environment with a specified set of flags, I wansn't getting back that same set of flags I used to open the db when I called fn mdb_dbi_flags.
That's what lead me to read lmdb's code and found that snippet which worked for making the flags I used to open the db persist so that they are the same I get when I call mdb_dbi_flags.
So if my method is wrong, how do I get mdb_dbi_flags to give me the correct flags I used to open the db(when I was opening it)?