Skip to content

Conversation

emo-coder
Copy link
Contributor

@github-actions github-actions bot added the execute-engine hybridse sql engine label Jul 26, 2023
@emo-coder emo-coder changed the title feat: dl without mutex lock handler feat: open/close dl without mutex lock handler Aug 1, 2023
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Patch coverage: 50.00% and project coverage change: -0.02% ⚠️

Comparison is base (c4a8371) 75.70% compared to head (b8d262b) 75.68%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3401      +/-   ##
============================================
- Coverage     75.70%   75.68%   -0.02%     
  Complexity      414      414              
============================================
  Files           700      701       +1     
  Lines        126668   126667       -1     
  Branches       1206     1206              
============================================
- Hits          95888    95867      -21     
- Misses        30539    30559      +20     
  Partials        241      241              
Files Changed Coverage Δ
hybridse/src/udf/dynamic_lib_manager.h 100.00% <ø> (ø)
hybridse/src/udf/dynamic_lib_manager.cc 63.15% <50.00%> (-5.50%) ⬇️

... and 21 files with indirect coverage changes

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

@dl239 dl239 marked this pull request as ready for review August 2, 2023 11:03
@dl239 dl239 changed the title feat: open/close dl without mutex lock handler feat: open/close dl without self-defined reference count Aug 2, 2023
if (iter->second->ref_cnt == 0) {
so_handle = iter->second;
handle_map_.erase(iter);
if (iter->second != nullptr) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

erase first

Copy link
Collaborator

@dl239 dl239 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a dynamic lib may be used by multi functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-engine hybridse sql engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants