mdbx-test: output txn-size limit into test-log.

Change-Id: Ib4b7b5932df794879226e0d32c8a7e6b1d31d17f
This commit is contained in:
Leonid Yuriev 2020-01-03 12:08:14 +03:00
parent f3a95fe26b
commit 1c4b80ec61

View File

@ -417,8 +417,9 @@ void dump(const char *title) {
else else
log_verbose("no-inject-writefault\n"); log_verbose("no-inject-writefault\n");
log_verbose("limits: readers %u, tables %u\n", i->params.max_readers, log_verbose("limits: readers %u, tables %u, txn-bytes %zu\n",
i->params.max_tables); i->params.max_readers, i->params.max_tables,
mdbx_limits_txnsize_max(i->params.pagesize));
log_verbose("drop table: %s\n", i->params.drop_table ? "Yes" : "No"); log_verbose("drop table: %s\n", i->params.drop_table ? "Yes" : "No");
log_verbose("ignore MDBX_MAP_FULL error: %s\n", log_verbose("ignore MDBX_MAP_FULL error: %s\n",