Commit 2ed391f
committed
Fix pgbench options -C and -R together
The bug is that prior to --rate doCustom was always disconnect/reconnect
without exiting, but with rate it returns if it has to wait. However threadRun
test whether there is a connection before recalling doCustom, so it was never
called.
Bug is not existed in head branch because of refactoring at
12788ae, patch only 9.6
Author: Fabien Coelho
Reviewed-by: me
https://commitfest.postgresql.org/13/970/1 parent 8de6278 commit 2ed391f
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1967 | 1967 | | |
1968 | 1968 | | |
1969 | 1969 | | |
1970 | | - | |
1971 | 1970 | | |
1972 | 1971 | | |
1973 | 1972 | | |
| |||
4345 | 4344 | | |
4346 | 4345 | | |
4347 | 4346 | | |
| 4347 | + | |
| 4348 | + | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
4348 | 4353 | | |
4349 | 4354 | | |
4350 | 4355 | | |
| |||
0 commit comments