2016-03-30 19:46 GMT+03:00 Howard Chu <h...@symas.com>: > Леонид Юрьев 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. >
Yes, it's obvious. But I asked not about of a user data. In other words - why we should copy or not copy an end of page in dependence from MDB_RESERVE? >> 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 >> >> Regards, >> Leonid. >> > -- > -- Howard Chu > CTO, Symas Corp. http://www.symas.com > Director, Highland Sun http://highlandsun.com/hyc/ > Chief Architect, OpenLDAP http://www.openldap.org/project/