From 9104e0223cf86ecd9c06badde9b50d097c8aeddf Mon Sep 17 00:00:00 2001 From: ZhaoMing Date: Wed, 15 Dec 2021 17:17:22 +0800 Subject: [PATCH] Fix ClockCacheShard::Erase --- cache/clock_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/clock_cache.cc b/cache/clock_cache.cc index 4fdd023e27..8f0d500283 100644 --- a/cache/clock_cache.cc +++ b/cache/clock_cache.cc @@ -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; }