Commit 8ac42680 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[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
parent aa074815
...@@ -1549,6 +1549,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) { ...@@ -1549,6 +1549,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("mem freed", buf); STATPRINT("mem freed", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.max_mem_in_use); snprintf(buf, bufsiz, "%" PRIu64, engstat.max_mem_in_use);
STATPRINT("max mem in use", buf); STATPRINT("max mem in use", buf);
snprintf(buf, bufsiz, "%s", engstat.mallocator_version);
STATPRINT("mallocator version", buf);
} }
if (error) { my_errno = error; } if (error) { my_errno = error; }
TOKUDB_DBUG_RETURN(error); TOKUDB_DBUG_RETURN(error);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment