More checks for closed DBIs and invalidated txns.
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)
commit012d7b5de7b9942c29d0c849e8153b7b81b59082
treeb50edad3b5853adde98092e790bf6718d9c67d87
parent3e7c1bd4e22270d1b95fff572a7726983ca68e8d
More checks for closed DBIs and invalidated txns.

Factor txn/DBI-checks out to TXN_DBI_EXIST().
mdb_audit(): Skip closed DBIs.
mdb_cursor_renew(), mdb_stat(): Check DBI and txn.
mdb_cursor_count(): Check txn.
mdb_dbi_flags(): Check DBI.
libraries/liblmdb/mdb.c