summaryrefslogtreecommitdiff
path: root/innobase/ha/ha0ha.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/ha/ha0ha.c')
-rw-r--r--innobase/ha/ha0ha.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/innobase/ha/ha0ha.c b/innobase/ha/ha0ha.c
index c3ad6cdca76..acde236bb2f 100644
--- a/innobase/ha/ha0ha.c
+++ b/innobase/ha/ha0ha.c
@@ -335,6 +335,11 @@ ha_print_info(
}
}
- buf += sprintf(buf, "Hash table size %lu, used cells %lu\n",
- hash_get_n_cells(table), cells);
+ buf += sprintf(buf,
+"Hash table size %lu, used cells %lu", hash_get_n_cells(table), cells);
+
+ if (table->heaps == NULL && table->heap != NULL) {
+ buf += sprintf(buf,
+", node heap has %lu buffer(s)\n", UT_LIST_GET_LEN(table->heap->base));
+ }
}