mdbx-tests: add support for db-geometry params.

Change-Id: I4c527005bd7c5d585573536d299a8036c62eaaec
This commit is contained in:
Leonid Yuriev
2018-08-22 00:55:21 +03:00
parent 8acc1979bb
commit c7a6e9c8ae
4 changed files with 48 additions and 7 deletions

View File

@@ -357,8 +357,11 @@ void dump(const char *title) {
: i->params.pathname_log.c_str());
}
log_info("database: %s, size %" PRIu64 "\n", i->params.pathname_db.c_str(),
i->params.size);
log_info(
"database: %s, size %" PRIu64 "[%" PRIi64 "..%" PRIi64 ", %i %i, %i]\n",
i->params.pathname_db.c_str(), i->params.size_now, i->params.size_lower,
i->params.size_upper, i->params.shrink_threshold, i->params.growth_step,
i->params.pagesize);
dump_verbs("mode", i->params.mode_flags, mode_bits);
dump_verbs("table", i->params.table_flags, table_bits);