Function lmdb_master_sys::mdb_txn_id
source · pub unsafe extern "C" fn mdb_txn_id(txn: *mut MDB_txn) -> mdb_size_t
Expand description
Return the transaction’s ID.
This returns the identifier associated with this transaction. For a read-only transaction, this corresponds to the snapshot being read; concurrent readers will frequently have the same transaction ID.
§Arguments
txn
(direction in) - A transaction handle returned by #mdb_txn_begin()
§Returns
A transaction ID, valid if input is an active transaction.