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

Modify mem_freed variable in evict.c and Update debug.c #376

Merged
merged 1 commit into from Apr 30, 2024

Conversation

Virusuki
Copy link
Contributor

Fix the mem_freed variable to be initialized with init.
with this PR prevents the variable from acting unknownly.

evict.c 548 line
long long mem_freed = 0;

debug.c 2628 line
Also, the word "the" appears twice in the comment.
fixed it.

src/evict.c Outdated Show resolved Hide resolved
Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.38%. Comparing base (4948d53) to head (5df8253).
Report is 5 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable     #376   +/-   ##
=========================================
  Coverage     68.37%   68.38%           
=========================================
  Files           108      108           
  Lines         61562    61562           
=========================================
+ Hits          42096    42102    +6     
+ Misses        19466    19460    -6     
Files Coverage Δ
src/debug.c 52.81% <ø> (ø)
src/evict.c 96.69% <100.00%> (-0.02%) ⬇️

... and 12 files with indirect coverage changes

Signed-off-by: NAM UK KIM <namuk2004@naver.com>

Updated evict.c

Signed-off-by: NAM UK KIM <namuk2004@naver.com>

Updated evict.c

Signed-off-by: NAM UK KIM <namuk2004@naver.com>
@madolson madolson merged commit e43fda5 into valkey-io:unstable Apr 30, 2024
17 checks passed
PingXie pushed a commit to PingXie/valkey that referenced this pull request May 2, 2024
Fix the mem_freed variable to be initialized with init.
with this PR prevents the variable from acting unknowingly.

Signed-off-by: NAM UK KIM <namuk2004@naver.com>
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