Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve arg handling in continuous_agg_trigfn #6160

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

jnidzwetzki
Copy link
Contributor

@jnidzwetzki jnidzwetzki commented Oct 6, 2023

When continuous_agg_invalidation_trigger is called without any argument, fcinfo->context in continuous_agg_trigfn is NULL and it should not be dereferenced.


Disable-check: force-changelog-file

When continuous_agg_invalidation_trigger is called without any argument,
fcinfo->context in continuous_agg_trigfn is NULL and it should not be
dereferenced.
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

@fabriziomello, @nikkhils: please review this pull request.

Powered by pull-review

@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #6160 (e5b6c78) into main (f8738c8) will decrease coverage by 7.64%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #6160      +/-   ##
==========================================
- Coverage   81.44%   73.81%   -7.64%     
==========================================
  Files         246      246              
  Lines       56974    49818    -7156     
  Branches    12624    12503     -121     
==========================================
- Hits        46402    36771    -9631     
+ Misses       8192     7217     -975     
- Partials     2380     5830    +3450     
Files Coverage Δ
tsl/src/continuous_aggs/insert.c 79.35% <0.00%> (-7.68%) ⬇️

... and 226 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@svenklemm svenklemm added this to the TimescaleDB 2.12.1 milestone Oct 6, 2023
@jnidzwetzki jnidzwetzki enabled auto-merge (rebase) October 6, 2023 14:37
@jnidzwetzki jnidzwetzki merged commit b514d05 into timescale:main Oct 6, 2023
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants