BUG#25323 NDB binlog timer prints incorrect stats

fix time period calculation
parent 71097eff
......@@ -3924,9 +3924,9 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
"%ld(%d e/s), total time %ld(%d e/s)",
(ulong)gci, event_count,
write_timer.elapsed_ms(),
event_count / write_timer.elapsed_ms(),
(1000*event_count) / write_timer.elapsed_ms(),
gci_timer.elapsed_ms(),
event_count / gci_timer.elapsed_ms());
(1000*event_count) / gci_timer.elapsed_ms());
#endif
}
}
......
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