forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7ced1b6
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 parent835a487 commit7ced1b6
1 file changed
+1
-1
lines changed| 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)