forked from blue/lmdbal
Cursors refactoring part one
This commit is contained in:
parent
ef86d0adf9
commit
bfb1d007ad
19 changed files with 824 additions and 677 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include "transaction.h"
|
||||
|
||||
#include "cursorcommon.h"
|
||||
|
||||
/**
|
||||
* \class LMDBAL::Transaction
|
||||
* \brief Public read only transaction
|
||||
|
@ -131,7 +133,7 @@ void LMDBAL::Transaction::reset() {
|
|||
* \brief Closes attached curors;
|
||||
*/
|
||||
void LMDBAL::Transaction::closeCursors () {
|
||||
for (const std::pair<const uint32_t, iCursor*>& pair : cursors)
|
||||
for (const std::pair<const uint32_t, CursorCommon*>& pair : cursors)
|
||||
pair.second->terminated();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue