diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 617b2023b18..713e8a06bb5 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -7567,11 +7567,12 @@ threadRun(void *arg) advanceConnectionState(thread, st, &aggs); /* - * If --exit-on-abort is used, the program is going to exit - * when any client is aborted. + * If --exit-on-abort is used, the program is going to exit when + * any client is aborted. */ if (exit_on_abort && st->state == CSTATE_ABORTED) goto done; + /* * If advanceConnectionState changed client to finished state, * that's one fewer client that remains.