mdbx-tools: minor fix a condition for details output about leaf pages.

Thanks to Alexander Gavrilov (https://github.com/dartraiden) for the hint.

Change-Id: I2a674b7d23310f8c776eef551353f79dfca7a3d8
This commit is contained in:
Leonid Yuriev 2021-03-01 23:04:26 +03:00
parent d816e0605b
commit c4b24b6a4d

View File

@ -1497,8 +1497,8 @@ int main(int argc, char *argv[]) {
if (all_leaf) { if (all_leaf) {
print(", leaf %" PRIu64, 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 | dbi->pages.leaf_dupfixed |
dbi->pages.subleaf_dupsort)) dbi->pages.subleaf_dupfixed))
print(" (usual %" PRIu64 ", sub-dupsort %" PRIu64 print(" (usual %" PRIu64 ", sub-dupsort %" PRIu64
", dupfixed %" PRIu64 ", sub-dupfixed %" PRIu64 ")", ", dupfixed %" PRIu64 ", sub-dupfixed %" PRIu64 ")",
dbi->pages.leaf, dbi->pages.subleaf_dupsort, dbi->pages.leaf, dbi->pages.subleaf_dupsort,