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

Re: (ITS#7825) LMDB: misleading error message



On Fri Mar 28 2014 18:36:11 GMT+0100 (CET), Howard Chu wrote:
> timur.kristof@gmail.com wrote:
> 
> > Here's a small test case which will demonstrate it:
> > http://pastebin.com/hHwD1srf
> 
> As an aside, this is some pretty horrible code. Why are you using 
> MDB_GET_CURRENT after all of your cursor_get calls?

It truly is horrendous. I wrote it in an attempt to (roughly) reproduce what one of my examples did in javascript. Then when I discovered what the issue really was, I forgot to clean it up before pastebinning. I hope it's still okay as a testcase for this bugreport :) 

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

-- 
Timur

Sent from my Jolla