forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
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 changedLines changed: 2 additions & 2 deletions
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)