aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/pgbench.c5
1 files changed, 3 insertions, 2 deletions
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.