mirror of
https://github.com/isar/libmdbx.git
synced 2025-12-17 17:32:24 +08:00
mdbx++: add txnid type.
This commit is contained in:
3
mdbx.h++
3
mdbx.h++
@@ -370,6 +370,9 @@ class txn_managed;
|
|||||||
class cursor;
|
class cursor;
|
||||||
class cursor_managed;
|
class cursor_managed;
|
||||||
|
|
||||||
|
/// \brief Transaction ID and MVCC-snapshot number.
|
||||||
|
using txnid = uint64_t;
|
||||||
|
|
||||||
/// \brief Default buffer.
|
/// \brief Default buffer.
|
||||||
using default_buffer = buffer<default_allocator, default_capacity_policy>;
|
using default_buffer = buffer<default_allocator, default_capacity_policy>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user