Commit 8e00a385 authored by Noah Misch's avatar Noah Misch

pgbench: Remove stray use of "float" math.

Oversight in commit 4a87f308.

Fabien COELHO
parent 85fa8293
......@@ -3077,7 +3077,7 @@ threadRun(void *arg)
/* generate and show report */
int64 count = 0;
int64 run = now - last_report;
float tps, total_run, latency;
double tps, total_run, latency;
for (i = 0 ; i < nstate ; i++)
count += state[i].cnt;
......@@ -3107,7 +3107,7 @@ threadRun(void *arg)
/* generate and show report */
int64 count = 0;
int64 run = now - last_report;
float tps, total_run, latency;
double tps, total_run, latency;
for (i = 0 ; i < progress_nclients ; i++)
count += state[i].cnt;
......
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