Commit b9275c99 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

mdb_cursor_dbi(): Assume valid args.

It returned 0, which is the freelist DBI and is valid for a few uses.
parent 7e620a34
......@@ -5586,7 +5586,7 @@ mdb_cursor_txn(MDB_cursor *mc)
mdb_cursor_dbi(MDB_cursor *mc)
if (!mc) return 0;
assert(mc != NULL);
return mc->mc_dbi;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment