2016-03-30 19:46 GMT+03:00 Howard Chu hyc@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/l...
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/