dbms: Client: fixed overflow in progress indicator [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2013-02-16 22:17:01 +00:00
parent 4b1888ecf3
commit 76347e2e25

View File

@ -705,7 +705,7 @@ private:
size_t elapsed_ns = watch.elapsed();
if (elapsed_ns)
message << " ("
<< rows_read_on_server * 1000000000 / elapsed_ns << " rows/s., "
<< rows_read_on_server * 1000000000.0 / elapsed_ns << " rows/s., "
<< bytes_read_on_server * 1000.0 / elapsed_ns << " MB/s.) ";
else
message << ". ";