mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-19 10:18:56 +08:00
mdbx: возвращение MDBX_TXN_INVALID
(INT32_MIN
) из mdbx_txn_flags()
при передаче невалидной транзакции.
This commit is contained in:
2
mdbx.h
2
mdbx.h
@@ -3764,7 +3764,7 @@ mdbx_txn_env(const MDBX_txn *txn);
|
||||
* \param [in] txn A transaction handle returned by \ref mdbx_txn_begin().
|
||||
*
|
||||
* \returns A transaction flags, valid if input is an valid transaction,
|
||||
* otherwise -1. */
|
||||
* otherwise \ref MDBX_TXN_INVALID. */
|
||||
MDBX_NOTHROW_PURE_FUNCTION LIBMDBX_API int mdbx_txn_flags(const MDBX_txn *txn);
|
||||
|
||||
/** \brief Return the transaction's ID.
|
||||
|
Reference in New Issue
Block a user