- Notifications
You must be signed in to change notification settings - Fork5
Commit2e75be6
committed
Fix calculation of latency of pgbench backslash commands.
When we loop back to the top of doCustom after processing a backslashcommand, we must reset the "now" timestamp, because that's used tocalculate the time spent executing the previous command.Report and fix by Fabien Coelho. Backpatch to 9.5, where this was broken.1 parenta664d47 commit2e75be6
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1154 | 1154 |
| |
1155 | 1155 |
| |
1156 | 1156 |
| |
1157 |
| - | |
| 1157 | + | |
| 1158 | + | |
1158 | 1159 |
| |
| 1160 | + | |
1159 | 1161 |
| |
1160 | 1162 |
| |
1161 |
| - | |
1162 | 1163 |
| |
1163 | 1164 |
| |
1164 | 1165 |
| |
|
0 commit comments
Comments
(0)