mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
pgbench: Remove stray use of "float" math.
Oversight in commit 4a87f308b3
.
Fabien COELHO
This commit is contained in:
parent
85fa8293ad
commit
8e00a3850d
@ -3077,7 +3077,7 @@ threadRun(void *arg)
|
|||||||
/* generate and show report */
|
/* generate and show report */
|
||||||
int64 count = 0;
|
int64 count = 0;
|
||||||
int64 run = now - last_report;
|
int64 run = now - last_report;
|
||||||
float tps, total_run, latency;
|
double tps, total_run, latency;
|
||||||
|
|
||||||
for (i = 0 ; i < nstate ; i++)
|
for (i = 0 ; i < nstate ; i++)
|
||||||
count += state[i].cnt;
|
count += state[i].cnt;
|
||||||
@ -3107,7 +3107,7 @@ threadRun(void *arg)
|
|||||||
/* generate and show report */
|
/* generate and show report */
|
||||||
int64 count = 0;
|
int64 count = 0;
|
||||||
int64 run = now - last_report;
|
int64 run = now - last_report;
|
||||||
float tps, total_run, latency;
|
double tps, total_run, latency;
|
||||||
|
|
||||||
for (i = 0 ; i < progress_nclients ; i++)
|
for (i = 0 ; i < progress_nclients ; i++)
|
||||||
count += state[i].cnt;
|
count += state[i].cnt;
|
||||||
|
Loading…
Reference in New Issue
Block a user