mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-13 07:43:50 -05:00
mdb_cursor_dbi(): Assume valid args.
It returned 0, which is the freelist DBI and is valid for a few uses.
This commit is contained in:
parent
7e620a34a2
commit
b9275c9991
1 changed files with 1 additions and 1 deletions
|
|
@ -5586,7 +5586,7 @@ mdb_cursor_txn(MDB_cursor *mc)
|
|||
MDB_dbi
|
||||
mdb_cursor_dbi(MDB_cursor *mc)
|
||||
{
|
||||
if (!mc) return 0;
|
||||
assert(mc != NULL);
|
||||
return mc->mc_dbi;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue