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

fix: Be more defensive around transactions #757

Merged
merged 3 commits into from
Sep 29, 2022
Merged

fix: Be more defensive around transactions #757

merged 3 commits into from
Sep 29, 2022

Conversation

Swatinem
Copy link
Member

This adds a bunch more NULL-checks for the outer opaque transaction/_ctx and span types. Also removes the span_free function which was pretty much duplicated with span_decref.

This adds a bunch more NULL-checks for the outer opaque transaction/_ctx and span types.
Also removes the `span_free` function which was pretty much duplicated with span_decref.
@codecov-commenter
Copy link

Codecov Report

Merging #757 (125943a) into master (58cbac4) will decrease coverage by 0.14%.
The diff coverage is 46.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #757      +/-   ##
==========================================
- Coverage   83.09%   82.94%   -0.15%     
==========================================
  Files          53       53              
  Lines        5017     5032      +15     
  Branches     1100     1120      +20     
==========================================
+ Hits         4169     4174       +5     
- Misses        737      746       +9     
- Partials      111      112       +1     

@supervacuus
Copy link
Collaborator

LGTM, danger is still complaining.

@Swatinem Swatinem merged commit b1fbfe2 into master Sep 29, 2022
@Swatinem Swatinem deleted the fix/def-trx branch September 29, 2022 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants