Commit 7758ca14 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:2504] Add upgrade info to engine status.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20497 c7de825b-a66e-492c-adef-691d508d4ae1
parent cbb2e27d
...@@ -1023,6 +1023,15 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) { ...@@ -1023,6 +1023,15 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("log suppress (success) ", buf); STATPRINT("log suppress (success) ", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.logsuppressfail); snprintf(buf, bufsiz, "%" PRIu64, engstat.logsuppressfail);
STATPRINT("log suppress fail", buf); STATPRINT("log suppress fail", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_env_status);
STATPRINT("upgrade env status", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_header);
STATPRINT("upgrade header", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_nonleaf);
STATPRINT("upgrade nonleaf", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_leaf);
STATPRINT("upgrade leaf", 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