Hm, but how open dbi which some flags, ensure that are present?
Same for main-dbi without change stored flags?
Леонид Юрьев wrote:
I would like to introduce the MDB_PICKUP flag for mdb_dpi_open().
At least, this is required for mdb_chk tool, when a DBI should be opened
with flags that stored inside LMDB, which while a DBI was created. It is
particularly important for DBI_MAIN.
This flag is completely unnecessary. Opening an existing DBI with flags=0 accomplishes that task already.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/