RAII transactions
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 40s
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 40s
This commit is contained in:
parent
a9aa6b549f
commit
de741eda21
22 changed files with 689 additions and 222 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "lmdb.h"
|
||||
#include "base.h"
|
||||
#include "storage.h"
|
||||
#include "transaction.h"
|
||||
|
||||
namespace LMDBAL {
|
||||
|
||||
|
@ -42,9 +43,9 @@ private:
|
|||
|
||||
public:
|
||||
void open() const;
|
||||
void open(TransactionID txn) const;
|
||||
void open(const Transaction& transaction) const;
|
||||
void renew() const;
|
||||
void renew(TransactionID txn) const;
|
||||
void renew(const Transaction& transaction) const;
|
||||
void close() const;
|
||||
bool opened() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue