[t:3825] #3825 Add max_mem_in_use to memory statistics.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@35067 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Barry Perlman 2013-04-17 00:02:06 -04:00 committed by Yoni Fogel
parent 66598a9efe
commit 849c8ff2e2

View file

@ -1417,6 +1417,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("mem used", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.mem_freed);
STATPRINT("mem freed", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.max_mem_in_use);
STATPRINT("max mem in use", buf);
}
if (error) { my_errno = error; }
TOKUDB_DBUG_RETURN(error);