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

Re: LMDB storing generated values



Simon Majou wrote:
Hello,

Is there a way to write a value one part at a time ? For instance a value
which is being generated, or received.

 From the doc I found 2 put methods, but they expect a pointer to the full value.

RTFM. See the MDB_RESERVE flag. You must know the total size of the value in advance.

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