Content-Length: 275926 | pFad | http://github.com/postgrespro/postgres/commit/8e00a3850d4a7729a112967c204fa95b40cc54ca

0A pgbench: Remove stray use of "float" math. · postgrespro/postgres@8e00a38 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8e00a3850d4a7729a112967c204fa95b40cc54ca

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy