Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf76ad49

Browse files
author
Marina Polyakova
committed
Pgbench Fix attempts stats
1 parente93a903 commitf76ad49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/bin/pgbench/pgbench.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,6 +2178,7 @@ doCustom(TState *thread, CState *st, StatsData *agg)
21782178
thread->stats.serialization_failures++;
21792179
if (st->deadlock_failure)
21802180
thread->stats.deadlock_failures++;
2181+
mergeSimpleStats(&thread->stats.attempts,&st->attempts);
21812182
}
21822183
}
21832184

@@ -2701,6 +2702,7 @@ processXactStats(TState *thread, CState *st, instr_time *now,
27012702
thread->stats.serialization_failures++;
27022703
if (st->deadlock_failure)
27032704
thread->stats.deadlock_failures++;
2705+
mergeSimpleStats(&thread->stats.attempts,&st->attempts);
27042706
}
27052707

27062708
if (use_log)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp