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

Re: (ITS#7914) LMDB: MDB_DUPSORT and mdb_cursor_put(.., MDB_CURRENT) can put DB in illegal state



On 03/08/14 20:13, hyc@symas.com wrote:
> The recent doc changes are a bit over-zealous here. The only requirement is
> that the new value would naturally sort into the same position. So yes, you
> can store a value different than the old value.

No, MDB_CURRENT does not update branch keys.  That was the
reason for those latest doc changes.