Commit 0fe1f339 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:3825] #3825 Add malloc_fail and realloc_fail to engine status.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@33949 c7de825b-a66e-492c-adef-691d508d4ae1
parent df4cd174
......@@ -1401,6 +1401,10 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("free count", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.realloc_count);
STATPRINT("realloc count", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.malloc_fail);
STATPRINT("malloc fail", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.realloc_fail);
STATPRINT("realloc fail", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.mem_requested);
STATPRINT("mem requested", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.mem_used);
......
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