- Notifications
You must be signed in to change notification settings - Fork28
Commitb2ed8ed
committed
Fix bug in collecting total_latencies from all threads in pgbench.
This was broken in1bc90f7, which removed the thread-emulation. With modest-j and -c settings the result were usually close enough that you wouldn'tnotice it easily, but with a high enough thread count it would accessuninitialized memory and crash.Per report from Andres Freund offlist.1 parent5e65f45 commitb2ed8ed
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3456 | 3456 | | |
3457 | 3457 | | |
3458 | 3458 | | |
3459 | | - | |
3460 | | - | |
| 3459 | + | |
| 3460 | + | |
3461 | 3461 | | |
3462 | 3462 | | |
3463 | 3463 | | |
| |||
0 commit comments
Comments
(0)