From 73215bdcc7074143c4ecbb449699c0d5fdf1ebde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Fri, 14 Nov 2025 10:09:13 +0300 Subject: [PATCH] mdbx++: add `txnid` type. --- mdbx.h++ | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mdbx.h++ b/mdbx.h++ index 7934a270..ba5a4143 100644 --- a/mdbx.h++ +++ b/mdbx.h++ @@ -370,6 +370,9 @@ class txn_managed; class cursor; class cursor_managed; +/// \brief Transaction ID and MVCC-snapshot number. +using txnid = uint64_t; + /// \brief Default buffer. using default_buffer = buffer;