Commit 50dd429b authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[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
parent d2a38ad9
......@@ -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);
......
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