Commit b2ed8ed
committed
Fix bug in collecting total_latencies from all threads in pgbench.
This was broken in 1bc90f7, which removed the thread-emulation. With modest
-j and -c settings the result were usually close enough that you wouldn't
notice it easily, but with a high enough thread count it would access
uninitialized memory and crash.
Per report from Andres Freund offlist.1 parent 5e65f45 commit b2ed8ed
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