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

Copy table function instead of passing raw pointer #3067

Merged
merged 1 commit into from
Mar 16, 2024

Conversation

andyfengHKU
Copy link
Contributor

Always copy table function instead of passing raw pointer. This is because when we register table functions from external scans, we don't have guarantee over the life cycle if we use raw pointer.

Copy link

codecov bot commented Mar 16, 2024

Codecov Report

Attention: Patch coverage is 96.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 93.02%. Comparing base (c3556e2) to head (28bd03b).

Files Patch % Lines
src/include/main/attached_database.h 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3067      +/-   ##
==========================================
- Coverage   93.02%   93.02%   -0.01%     
==========================================
  Files        1153     1153              
  Lines       43220    43232      +12     
==========================================
+ Hits        40207    40217      +10     
- Misses       3013     3015       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andyfengHKU andyfengHKU merged commit a612c0f into master Mar 16, 2024
17 checks passed
@andyfengHKU andyfengHKU deleted the table-function-copy branch March 16, 2024 18:37
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

2 participants