From 7762e6e83647c063766a58bc8a79b778353254ff Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Tue, 22 Sep 2020 23:15:55 +0300 Subject: [PATCH] mdbx-chk: show last modification of each sub-database. Change-Id: Ib424d17371adaef543a10b4f1d8a456cd6466046 --- src/mdbx_chk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mdbx_chk.c b/src/mdbx_chk.c index 88497ebd..fcda1d1b 100644 --- a/src/mdbx_chk.c +++ b/src/mdbx_chk.c @@ -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);