Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8e00a38

Browse files
committed
pgbench: Remove stray use of "float" math.
Oversight in commit4a87f30.Fabien COELHO
1 parent85fa829 commit8e00a38

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
int64count=0;
30793079
int64run=now-last_report;
3080-
floattps,total_run,latency;
3080+
doubletps,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
int64count=0;
31093109
int64run=now-last_report;
3110-
floattps,total_run,latency;
3110+
doubletps,total_run,latency;
31113111

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp