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

Re: LMDB storing generated values

Oops, my mistake. Thanks for the info.

On 11 August 2014 02:22, Howard Chu <hyc@symas.com> wrote:
Simon Majou wrote:

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/


Best regards,