[Date Prev][Date Next]
Re: (ITS#7960) [LMDB] wrong pointer used in mdb_cassert()
Le 10/03/2014 10:19 PM, Howard Chu a =E9crit :
> email@example.com wrote:
>> Full_Name: Jean-Christophe Dubois
>> Version: 2.4.40
>> OS: Linux
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (220.127.116.11)
>> In mdb_node_move() csrc is passed to mdb_cassert() at line 7396 when=20
>> it seems it
>> should be cdst (as the operation is on cdst).
> Irrelevant. The cursor is only passed to provide an env pointer, and=20
> both cursors point to the same env. Closing this ITS.
Right. It is just that it would be nicer/more logical as it is not clear=20
beforehand what the pointer is passed for.
An who knows what additional thing could be done in mdb_cassert in the=20
>> Patch available at URL below: