Commits on May 20, 2016

  1. Fix incorrect use of LMDB flags

    MDB_DUPSORT should be used when the database is opened.
    
    Using it with mdb_put causes an "Invalid argument" error and
    therefore a crash in the generator.
    neilmayhew committed May 20, 2016