Skip to content

Commit

Permalink
Fix ClockCacheShard::Erase
Browse files Browse the repository at this point in the history
  • Loading branch information
mm304321141 committed Dec 15, 2021
1 parent a1df6cf commit 9104e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/clock_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ bool ClockCacheShard::Release(Cache::Handle* h, bool force_erase) {

bool ClockCacheShard::Erase(const Slice& key, uint32_t hash) {
CleanupContext context;
bool ret EraseAndConfirm(key, hash, &context);
bool ret = EraseAndConfirm(key, hash, &context);
Cleanup(context);
return ret;
}
Expand Down

0 comments on commit 9104e02

Please sign in to comment.