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

Re: (ITS#7643) MDB_cmp_func not properly documented

vissermc@gmail.com wrote:
> Full_Name: Michiel Visser
> Version: 2.4.35
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> The MDB documentation must specify what is expected of MDB_cmp_func.
> I assume it must return -1,0,1 depending on the order, similar to ansi compare
> functions, but it is not trivial, nor all will know.

The mdb_cmp() description already describes the return values. Users of the 
library are expected to be able to associate related concepts.

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