Set subDB DBI=parent DBI, fix MDB_DUPSORT delete.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 3 Oct 2013 21:59:24 +0000 (23:59 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 3 Oct 2013 21:59:24 +0000 (23:59 +0200)
commit07dc79a7c33121bc1be55bbd81ff643094df6851
tree4f7033478fcd17a38e48bf9adbe86826e5e412a3
parent79eac42c0f1fdd6c807f0b601c03ab35bf7d7d8e
Set subDB DBI=parent DBI, fix MDB_DUPSORT delete.

xcursor DBIs were parent DBI+1 for debugging. Instead output
-(parent DBI).  Fixes a crash in mdb_cursor_del0()'s xcursor
tracking, it forgot to subtract 1 for C_SUB cursors.
libraries/liblmdb/mdb.c