[Issue 10005] New: Fix flags not getting committed when using named dbs in lmdb