Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)