1
0
Fork 0
forked from blue/lmdbal

tests for transaction RAII behaviour, transaction documentation, minor doc fixes

This commit is contained in:
Blue 2023-10-18 12:44:53 -03:00
parent de741eda21
commit 6b348023bb
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
8 changed files with 215 additions and 12 deletions

View file

@ -439,4 +439,10 @@ void LMDBAL::iStorage::transactionCommited(LMDBAL::TransactionID txn) {
void LMDBAL::iStorage::transactionAborted(LMDBAL::TransactionID txn) const {
UNUSED(txn);}
/**
* \brief A method where database additionally handles drop
*
* It's a protected method that is called to optimise drop process
* after the transaction is commited. Used just for optimisations.
*/
void LMDBAL::iStorage::handleDrop() {}