ITS#7598 Tweak MDB_<NEXT/PREV>_NODUP,fix mdb_stat.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 21 May 2013 20:44:51 +0000 (22:44 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 21 May 2013 20:44:51 +0000 (22:44 +0200)
commita1b16ce5f0f661b0dd5a30706a1d6178cf0fa561
tree19548795c3febc6dcc155213ad1714c81ffe59ca
parent1b6d7ee7e1aae85bfce2794e60038c2b264ad93c
ITS#7598 Tweak MDB_<NEXT/PREV>_NODUP,fix mdb_stat.

MDB_NEXT_NODUP, MDB_PREV_NODUP: Allow for non-MDB_DUPSORT databases.
No mdb.c code changes needed.

mdb_stat.c: Use MDB_NEXT_NODUP, to avoid a crash with a DUPSORT mainDB.
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb_stat.c