::mdb_dbi_close should never be called according to docs
| 51 | |
| 52 | // ::mdb_dbi_close should never be called according to docs |
| 53 | platform::lmdb::Dbi::Dbi(Txn &db_txn) { |
| 54 | lmdb_check(::mdb_dbi_open(db_txn.handle, nullptr, 0, &handle), "mdb_dbi_open "); |
| 55 | } |
| 56 | |
| 57 | bool platform::lmdb::Dbi::get(Txn &db_txn, MDB_val *const key, MDB_val *const data) { |
| 58 | const int rc = ::mdb_get(db_txn.handle, handle, key, data); |
nothing calls this directly
no test coverage detected