mdbx-chk: show last modification of each sub-database.

Change-Id: Ib424d17371adaef543a10b4f1d8a456cd6466046
This commit is contained in:
Leonid Yuriev 2020-09-22 23:15:55 +03:00
parent d4b16c981d
commit 7762e6e836

View File

@ -663,6 +663,8 @@ static int process_db(MDBX_dbi dbi_handle, char *dbi_name, visitor *handler,
print(" %s", dbflags[i].name);
}
print(" (0x%02X)\n", flags);
if (ms.ms_mod_txnid)
print(" - last modification txn#%" PRIu64 "\n", ms.ms_mod_txnid);
if (verbose > 1) {
print(" - page size %u, entries %" PRIu64 "\n", ms.ms_psize,
ms.ms_entries);