Skip to content

Commit 7307561

Browse files
author
Marina Polyakova
committed
Pgbench Fix a compilation error for Windows
1 parent cc395fe commit 7307561

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
@@ -2698,7 +2698,7 @@ doLog(TState *thread, CState *st, instr_time *now,
26982698
if (skipped)
26992699
fprintf(logfile, "%d " INT64_FORMAT " skipped %d 0 0",
27002700
st->id, st->cnt, st->use_file);
2701-
else if (st->serialization_failure)
2701+
else if (st->failure)
27022702
fprintf(logfile, "%d " INT64_FORMAT " failed %d 0 0",
27032703
st->id, st->cnt, st->use_file);
27042704
else

0 commit comments

Comments
 (0)