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

Commit83bcc70

Browse files
committed
pgbench: remove odd trailing period in init progress output
1 parent3b6ca12 commit83bcc70

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
@@ -2013,7 +2013,7 @@ init(bool is_no_vacuum)
20132013
elapsed_sec=INSTR_TIME_GET_DOUBLE(diff);
20142014
remaining_sec= ((double)scale*naccounts-j)*elapsed_sec /j;
20152015

2016-
fprintf(stderr,INT64_FORMAT" of "INT64_FORMAT" tuples (%d%%) done (elapsed %.2f s, remaining %.2f s).\n",
2016+
fprintf(stderr,INT64_FORMAT" of "INT64_FORMAT" tuples (%d%%) done (elapsed %.2f s, remaining %.2f s)\n",
20172017
j, (int64)naccounts*scale,
20182018
(int) (((int64)j*100) / (naccounts* (int64)scale)),
20192019
elapsed_sec,remaining_sec);
@@ -2030,7 +2030,7 @@ init(bool is_no_vacuum)
20302030
/* have we reached the next interval (or end)? */
20312031
if ((j==scale*naccounts)|| (elapsed_sec >=log_interval*LOG_STEP_SECONDS))
20322032
{
2033-
fprintf(stderr,INT64_FORMAT" of "INT64_FORMAT" tuples (%d%%) done (elapsed %.2f s, remaining %.2f s).\n",
2033+
fprintf(stderr,INT64_FORMAT" of "INT64_FORMAT" tuples (%d%%) done (elapsed %.2f s, remaining %.2f s)\n",
20342034
j, (int64)naccounts*scale,
20352035
(int) (((int64)j*100) / (naccounts* (int64)scale)),elapsed_sec,remaining_sec);
20362036

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp