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

Re: LMDB: Compare function implementation



On 08/24/2014 12:59 AM, Howard Chu wrote:
> Venkat Murty wrote:
>> I am inserting a non-zero length key into a database where I provide a
> compare function. But I am seeing that MDB_val->mv_size = 0 in the compare
> function. Is that possible?
> 
> If you saw it, then it must be possible...
> 
> Branch pages all start with an empty key.

That shouldn't be visible to users.  Try the current mdb.master.
There have beenn some fixes to SET_RANGE and DUPFIXED.

-- 
Hallvard