Skip to content

Commit 6b3102b

Browse files
author
Marina Polyakova
committed
Pgbench Fix the logging of raw transactions
1 parent 7307561 commit 6b3102b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2684,7 +2684,7 @@ doLog(TState *thread, CState *st, instr_time *now,
26842684
fprintf(logfile, "%d " INT64_FORMAT " skipped %d %ld %ld",
26852685
st->id, st->cnt, st->use_file,
26862686
(long) now->tv_sec, (long) now->tv_usec);
2687-
else if (skipped || st->failure)
2687+
else if (st->failure)
26882688
fprintf(logfile, "%d " INT64_FORMAT " failed %d %ld %ld",
26892689
st->id, st->cnt, st->use_file,
26902690
(long) now->tv_sec, (long) now->tv_usec);

0 commit comments

Comments
 (0)