MCPcopy Create free account
hub / github.com/bcndev/bytecoin / Dbi

Method Dbi

src/platform/DBlmdb.cpp:53–55  ·  view source on GitHub ↗

::mdb_dbi_close should never be called according to docs

Source from the content-addressed store, hash-verified

51
52// ::mdb_dbi_close should never be called according to docs
53platform::lmdb::Dbi::Dbi(Txn &db_txn) {
54 lmdb_check(::mdb_dbi_open(db_txn.handle, nullptr, 0, &handle), "mdb_dbi_open ");
55}
56
57bool 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);

Callers

nothing calls this directly

Calls 1

lmdb_checkFunction · 0.85

Tested by

no test coverage detected