mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: check for running write-txn inside mdbx_env_close().
This commit is contained in:
2
mdbx.h
2
mdbx.h
@@ -754,7 +754,7 @@ LIBMDBX_API int mdbx_env_sync(MDBX_env *env, int force);
|
||||
* ignored on opening next time, and transactions since the
|
||||
* last non-weak checkpoint (meta-page update) will rolledback
|
||||
* for consistency guarantee. */
|
||||
LIBMDBX_API void mdbx_env_close(MDBX_env *env);
|
||||
LIBMDBX_API int mdbx_env_close(MDBX_env *env);
|
||||
|
||||
/* Set environment flags.
|
||||
*
|
||||
|
Reference in New Issue
Block a user