Commit 280ab70e authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:2886] Fix engine status display.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@23275 c7de825b-a66e-492c-adef-691d508d4ae1
parent f7b55b38
...@@ -1056,9 +1056,13 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) { ...@@ -1056,9 +1056,13 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("local checkpoint during checkpoint", buf); STATPRINT("local checkpoint during checkpoint", buf);
snprintf(buf, bufsiz, "%" PRIu32, engstat.range_locks_max); snprintf(buf, bufsiz, "%" PRIu32, engstat.range_locks_max);
STATPRINT("max range locks per index", buf); STATPRINT("max range locks", buf);
snprintf(buf, bufsiz, "%" PRIu32, engstat.range_locks_curr); snprintf(buf, bufsiz, "%" PRIu32, engstat.range_locks_curr);
STATPRINT("range locks in use", buf); STATPRINT("range locks in use", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.range_locks_max_memory);
STATPRINT("memory available for range locks", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.range_locks_curr_memory);
STATPRINT("memory in use for range locks", buf);
snprintf(buf, bufsiz, "%" PRIu32, engstat.range_lock_escalation_successes); snprintf(buf, bufsiz, "%" PRIu32, engstat.range_lock_escalation_successes);
STATPRINT("range lock escalation successes", buf); STATPRINT("range lock escalation successes", buf);
snprintf(buf, bufsiz, "%" PRIu32, engstat.range_lock_escalation_failures); snprintf(buf, bufsiz, "%" PRIu32, engstat.range_lock_escalation_failures);
......
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