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

server: use correct DB connection in create_work() #5742

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Conversation

davidpanderson
Copy link
Contributor

A work generator can create and use its own DB connection.
Fix a bug in create_work() that incorrectly used the boinc_db connection
(which might not even be initialized).

Fixes #4032

A work generator can create and use its own DB connection.
Fix a bug in create_work() that incorrectly used the boinc_db connection
(which might not even be initialized).

Fixes #4032
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

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

Project coverage is 10.53%. Comparing base (a1406d2) to head (e8a8a5f).
Report is 2 commits behind head on master.

Files Patch % Lines
tools/backend_lib.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #5742   +/-   ##
=========================================
  Coverage     10.53%   10.53%           
  Complexity     1068     1068           
=========================================
  Files           279      279           
  Lines         35886    35886           
  Branches       8415     8415           
=========================================
  Hits           3780     3780           
  Misses        31712    31712           
  Partials        394      394           
Files Coverage Δ
tools/backend_lib.cpp 0.00% <0.00%> (ø)

@AenBleidd AenBleidd merged commit f440acd into master Aug 8, 2024
145 of 146 checks passed
@AenBleidd AenBleidd deleted the dpa_wu_db branch August 8, 2024 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Can't use new database connection in create_work function
2 participants