Skip to content

Commit 5229978

Browse files
author
Marina Polyakova
committed
Code cleanup 5
1 parent 4676e12 commit 5229978

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pgbench/pgbench.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ bool progress_timestamp = false; /* progress report with Unix time */
172172
int nclients = 1; /* number of clients */
173173
int nthreads = 1; /* number of threads */
174174
bool is_connect; /* establish connection for each transaction */
175-
bool report_per_command = false; /* report per-command latencies and
176-
* failures */
175+
bool report_per_command = false; /* report per-command latencies,
176+
* failures and attempts */
177177
int main_pid; /* main process id used in log filename */
178178
int max_attempts_number = 1; /* maximum number of attempts to run the
179179
* transaction with serialization or
@@ -4997,13 +4997,13 @@ threadRun(void *arg)
49974997
/* generate and show report */
49984998
StatsData cur;
49994999
int64 run = now - last_report;
5000+
int64 attempts_count;
50005001
double tps,
50015002
total_run,
50025003
latency,
50035004
sqlat,
50045005
lag,
50055006
latency_stdev,
5006-
attempts_count,
50075007
attempts_average,
50085008
attempts_stddev;
50095009
char tbuf[64];

0 commit comments

Comments
 (0)