summaryrefslogtreecommitdiff
path: root/innobase/ha
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2002-07-31 00:47:20 +0300
committerheikki@hundin.mysql.fi <>2002-07-31 00:47:20 +0300
commitbbb8125a2cad4845a61efe0f63906bd0cb64ec20 (patch)
treec292c07f8ce5669e3036ef6b705c347df3e64c0c /innobase/ha
parentc5bdaee9ad98c363d16c97292d14eb0ce2a890b9 (diff)
downloadmariadb-git-bbb8125a2cad4845a61efe0f63906bd0cb64ec20.tar.gz
Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
Diffstat (limited to 'innobase/ha')
-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));
+ }
}