[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Propose to MDB_PICKUP for mdb_dpi_open()



Леонид Юрьев 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/