forked from blue/lmdbal
Some refactor
This commit is contained in:
parent
bfb1d007ad
commit
3ae1fd15c0
5 changed files with 50 additions and 40 deletions
|
@ -74,10 +74,10 @@ protected:
|
|||
virtual int drop(TransactionID transaction);
|
||||
virtual SizeType count(TransactionID txn) const;
|
||||
|
||||
Transaction* getTransactionForCursor(MDB_cursor* cursor) const;
|
||||
|
||||
void openCursorTransaction(MDB_cursor** cursor, bool renew = false) const;
|
||||
void closeCursorTransaction(MDB_cursor* cursor, bool closeCursor = false) const;
|
||||
void attachCursorToTransaction(uint32_t cursorId, MDB_cursor* cursorHandle, CursorCommon* pointer) const;
|
||||
void disconnectCursorFromTransaction(uint32_t cursorId, MDB_cursor* cursorHandle) const;
|
||||
|
||||
int _mdbOpen(MDB_txn* txn, unsigned int flags = 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue