BUG#25323 NDB binlog timer prints incorrect stats

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