Electroneum
Loading...
Searching...
No Matches
lmdb::abort_txn Struct Reference

#include <transaction.h>

Public Member Functions

void operator() (MDB_txn *ptr) const noexcept

Detailed Description

Definition at line 41 of file transaction.h.

Member Function Documentation

◆ operator()()

void lmdb::abort_txn::operator() ( MDB_txn * ptr) const
inlinenoexcept

Definition at line 43 of file transaction.h.

44 {
45 if (ptr)
46 mdb_txn_abort(ptr);
47 }
void mdb_txn_abort(MDB_txn *txn)
Abandon all the operations of the transaction instead of saving them.
Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/lmdb/transaction.h