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.82k stars 852 forks source link

Fix stale code in Ensure #6997

Closed akuzm closed 1 month ago

akuzm commented 1 month ago

Also make Ensure use all its argument even in debug mode, so that these things are easier to notice.

The problem was introduced by https://github.com/timescale/timescaledb/pull/6838

Disable-check: force-changelog-file

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 81.76%. Comparing base (59f50f2) to head (2240fce). Report is 196 commits behind head on main.

Files Patch % Lines
src/dimension_slice.c 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6997 +/- ## ========================================== + Coverage 80.06% 81.76% +1.69% ========================================== Files 190 199 +9 Lines 37181 37013 -168 Branches 9450 9671 +221 ========================================== + Hits 29770 30262 +492 + Misses 2997 2864 -133 + Partials 4414 3887 -527 ```

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