Hm, but how open dbi which some flags, ensure that are present?

Same for  main-dbi without change stored flags?

30.04.2015 19:16 пользователь "Howard Chu" <hyc@symas.com> написал:
Леонид Юрьев wrote:
Hi, Howard.

I would like to introduce the MDB_PICKUP flag for mdb_dpi_open().
Please see
https://github.com/ReOpen/ReOpenLDAP/commit/04f92c952e42ff4c843135c42fdb9aa4b70a34fe

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/