mdbx: add MDBX_opt_txn_dp_initial & MDBX_opt_txn_dp_limit.

More for https://github.com/erthink/libmdbx/issues/128

Change-Id: I4be3c7476e9ce16ed4f27691d0df653552930e3c
This commit is contained in:
Leonid Yuriev
2020-12-02 21:33:30 +03:00
parent 84235c7903
commit 76716c23b0
2 changed files with 54 additions and 0 deletions

6
mdbx.h
View File

@@ -1806,6 +1806,12 @@ enum MDBX_option_t {
/** \brief The limit to grow a list of reclaimed pages
* for finding a sequence of contiguous pages. */
MDBX_opt_rp_augment_limit,
/** \brief The limit of dirty pages for a write transaction. */
MDBX_opt_txn_dp_limit,
/** \brief The initial allocation size for dirty pages list
* of a write transaction. */
MDBX_opt_txn_dp_initial,
};
#ifndef __cplusplus
/** \ingroup c_settings */