From bc3a56f447bed7b898bd73280aaf94ca0b3acb92 Mon Sep 17 00:00:00 2001 From: Barry Perlman Date: Wed, 30 Nov 2011 16:19:23 +0000 Subject: [PATCH] [t:4182] #4182 Add mallocator version to engine status in handlerton. git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@37427 c7de825b-a66e-492c-adef-691d508d4ae1 --- storage/tokudb/hatoku_hton.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index 0faeeb8a0a3..506a76f817b 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -1549,6 +1549,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) { STATPRINT("mem freed", buf); snprintf(buf, bufsiz, "%" PRIu64, engstat.max_mem_in_use); STATPRINT("max mem in use", buf); + snprintf(buf, bufsiz, "%s", engstat.mallocator_version); + STATPRINT("mallocator version", buf); } if (error) { my_errno = error; } TOKUDB_DBUG_RETURN(error);