mdbx: auto-setup MDBX_opt_txn_dp_limit.

Related to https://github.com/erthink/libmdbx/issues/186

Change-Id: I8f8c4f1a2600462bc25b4fad3010a4e6ac70b386
This commit is contained in:
Leonid Yuriev
2021-04-27 23:08:52 +03:00
parent 6134220b8a
commit 89558657ea
2 changed files with 33 additions and 1 deletions

View File

@@ -1176,6 +1176,13 @@ struct MDBX_env {
uint8_t spill_max_denominator;
uint8_t spill_min_denominator;
uint8_t spill_parent4child_denominator;
union {
unsigned all;
/* tracks options with non-auto values but tuned by user */
struct {
unsigned dp_limit : 1;
} non_auto;
} flags;
} me_options;
/* struct me_dbgeo used for accepting db-geo params from user for the new