LightningEnvironment.Open incorrectly handle case when argument openFlags contains EnvironmentOpenFlags.NoSubDir.
MDB_NOSUBDIR By default, LMDB creates its environment in a directory whose pathname is given in path, and creates its data and lock files under that directory. With this option, path is used as-is for the database main data file. The database lock file is the path with "-lock" appended.
LightningEnvironment.Open incorrectly handle case when argument openFlags contains EnvironmentOpenFlags.NoSubDir.