Skip to content

Commit 8e00a38

Browse files
committed
pgbench: Remove stray use of "float" math.
Oversight in commit 4a87f30. Fabien COELHO
1 parent 85fa829 commit 8e00a38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pgbench/pgbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3077,7 +3077,7 @@ threadRun(void *arg)
30773077
/* generate and show report */
30783078
int64 count = 0;
30793079
int64 run = now - last_report;
3080-
float tps, total_run, latency;
3080+
double tps, total_run, latency;
30813081

30823082
for (i = 0 ; i < nstate ; i++)
30833083
count += state[i].cnt;
@@ -3107,7 +3107,7 @@ threadRun(void *arg)
31073107
/* generate and show report */
31083108
int64 count = 0;
31093109
int64 run = now - last_report;
3110-
float tps, total_run, latency;
3110+
double tps, total_run, latency;
31113111

31123112
for (i = 0 ; i < progress_nclients ; i++)
31133113
count += state[i].cnt;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy