mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: add mdbx_env_info2(txn) and mdbx_env_stat2(txn).
Change-Id: Ifd128185a084c9dc61da140eeeaaf4b6022d3537
This commit is contained in:
4
mdbx.h
4
mdbx.h
@@ -735,6 +735,8 @@ LIBMDBX_API int mdbx_env_copy2fd(MDBX_env *env, mdbx_filehandle_t fd,
|
||||
* [out] stat The address of an MDBX_stat structure where the statistics
|
||||
* will be copied */
|
||||
LIBMDBX_API int mdbx_env_stat(MDBX_env *env, MDBX_stat *stat, size_t bytes);
|
||||
LIBMDBX_API int mdbx_env_stat2(const MDBX_env *env, const MDBX_txn *txn,
|
||||
MDBX_stat *stat, size_t bytes);
|
||||
|
||||
/* Return information about the MDBX environment.
|
||||
*
|
||||
@@ -742,6 +744,8 @@ LIBMDBX_API int mdbx_env_stat(MDBX_env *env, MDBX_stat *stat, size_t bytes);
|
||||
* [out] stat The address of an MDBX_envinfo structure
|
||||
* where the information will be copied */
|
||||
LIBMDBX_API int mdbx_env_info(MDBX_env *env, MDBX_envinfo *info, size_t bytes);
|
||||
LIBMDBX_API int mdbx_env_info2(const MDBX_env *env, const MDBX_txn *txn,
|
||||
MDBX_envinfo *info, size_t bytes);
|
||||
|
||||
/* Flush the data buffers to disk.
|
||||
*
|
||||
|
Reference in New Issue
Block a user