mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: дополнение API функциями lock/unlock/upgrade/downgrade основной блокировки.
This commit is contained in:
2
mdbx.h
2
mdbx.h
@@ -5570,7 +5570,7 @@ LIBMDBX_API int mdbx_txn_lock(MDBX_env *env, bool dont_wait);
|
||||
/** \brief Releases write-transaction lock.
|
||||
* Provided for custom and/or complex locking scenarios.
|
||||
* \returns A non-zero error value on failure and 0 on success. */
|
||||
LIBMDBX_API void mdbx_txn_unlock(MDBX_env *env);
|
||||
LIBMDBX_API int mdbx_txn_unlock(MDBX_env *env);
|
||||
|
||||
/** \brief Open an environment instance using specific meta-page
|
||||
* for checking and recovery.
|
||||
|
Reference in New Issue
Block a user