timescale / timescaledb

An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
https://www.timescale.com/
Other
16.8k stars 852 forks source link

Quell a couple of coverity warnings #7060

Closed nikkhils closed 1 week ago

nikkhils commented 1 week ago

Theoretical overflow calculations fixed in a couple of places.

Disable-check: force-changelog-file

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.77%. Comparing base (59f50f2) to head (5973e59). Report is 223 commits behind head on main.

Files Patch % Lines
tsl/src/bgw_policy/policies_v2.c 83.33% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7060 +/- ## ========================================== + Coverage 80.06% 81.77% +1.70% ========================================== Files 190 200 +10 Lines 37181 37298 +117 Branches 9450 9725 +275 ========================================== + Hits 29770 30499 +729 + Misses 2997 2885 -112 + Partials 4414 3914 -500 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.