]> git.sur5r.net Git - openldap/commit
mdb_dcmp(): Assume the database has MDB_DUPSORT.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 4 May 2013 10:34:49 +0000 (12:34 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 4 May 2013 10:34:49 +0000 (12:34 +0200)
commitb389341b4b2413804726276d01676a6a9d05346f
treed3dd03954400fdbbe002c7bc59378e4e7e1c1659
parent91a93004ce1fb4efbdf2867680d2e6cddbbeab8c
mdb_dcmp(): Assume the database has MDB_DUPSORT.

There was little point in returning EINVAL when not: Comparing (A,B)
and (B,A) would claim (A > B && B > A), which could confuse callers.
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c