mdbx-check: refine leaf-pages info (cosmetics).

Change-Id: I0fdb467f1c1d51bfcdcef5edfe99c8e9ad66037e
This commit is contained in:
Leonid Yuriev 2019-06-23 14:26:11 +03:00
parent bbf8ef0a4b
commit 728f98d3de

View File

@ -1180,7 +1180,9 @@ int main(int argc, char *argv[]) {
uint64_t all_leaf = dbi->pages.leaf + dbi->pages.leaf_dupfixed;
if (all_leaf) {
print(", leaf %" PRIu64, all_leaf);
if (verbose > 2)
if (verbose > 2 &&
(dbi->pages.leaf_dupfixed | dbi->pages.subleaf_dupsort |
dbi->pages.subleaf_dupsort))
print(" (usual %" PRIu64 ", sub-dupsort %" PRIu64
", dupfixed %" PRIu64 ", sub-dupfixed %" PRIu64 ")",
dbi->pages.leaf, dbi->pages.subleaf_dupsort,