forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8cadeb7
committed
Correctly handle test durations of more than 2147s in pg_test_timing.
Previously the computation of the total test duration, measured inmicroseconds, accidentally overflowed due to accidentally using signed32bit arithmetic. As the only consequence is that pg_test_timinginvocations with such, overly large, durations never finished thepractical consequences of this bug are minor.Pointed out by Coverity.Backpatch to 9.2 where pg_test_timing was added.1 parentd1c5752 commit8cadeb7
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
| 118 | + | |
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
|
0 commit comments
Comments
(0)