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

db_purge: fix truncated mod_time data (field too small for timestamp) #3539

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

stream1972
Copy link
Contributor

Description of the Change

Full timestamp is 19 characters long, so it need a 20-bytes buffer.
This is minor issue - this field is used only by db_purge. It causes db_purge output of this field to be truncated.

Alternate Designs

Release Notes

N/A

@codecov
Copy link

codecov bot commented Mar 28, 2020

Codecov Report

Merging #3539 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3539   +/-   ##
=======================================
  Coverage   15.49%   15.49%           
=======================================
  Files         105      105           
  Lines        8650     8650           
  Branches     1613     1613           
=======================================
  Hits         1340     1340           
  Misses       7171     7171           
  Partials      139      139           

@AenBleidd AenBleidd requested a review from lfield March 30, 2020 09:05
@TheAspens
Copy link
Member

@stream1972 - the change looks good to me - but I think that the same change should be made to RESULT.mod_time for the same reason. Can you add that to your pull request as well? Thanks!

@stream1972
Copy link
Contributor Author

@TheAspens Patch already includes changes for both structures.

@TheAspens
Copy link
Member

Sigh - my apologies for missing that.

Looks good. Merging.

@TheAspens TheAspens merged commit 76a455a into BOINC:master Apr 7, 2020
@stream1972 stream1972 deleted the stream_for_merge branch April 12, 2020 05:27
@AenBleidd AenBleidd added this to the Server Release 1.4.1 milestone Aug 14, 2023
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.

3 participants