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

Re: LMDB: mdb_cursor_put() and the rest of page in case MDB_RESERVE

Леонид Юрьев wrote:
Hi, Howard.

Why mdb_cursor_put() doesn't copy the rest of page in case MDB_RESERVE?

For MDB_RESERVE the caller is going to supply their own data later, so nothing on the page is valid data.

It is here (current mdb.master, mdb.c line 7479)
= http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=libraries/liblmdb/mdb.c;h=acab07b8294ad9036267be6d40ac19933f669fab;hb=8fff90db7ed1e650395f39f9e8b22673aa74aa2b#l7479


  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/