Skip to content
  • Hallvard Furuseth's avatar
    Renumber MDB_NOSUBDIR. Check mdb_env_open() flags. · 52e3adbd
    Hallvard Furuseth authored
    MDB_NOSUBDIR was == MDB_REVERSEKEY. That affected the freelist:
    Env flags are stored in mm_flags alias mm_dbs[FREE_DBI].md_flags.
    
    It stays a persistent flag, in case mdb_env_open someday wants
    to pick/verify which lockfile to use with the datafile.
    
    Catch bad flags so they will no longer make it into the data file.
    52e3adbd