mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
fix LRUResource Cache bug
This commit is contained in:
parent
64a80f1011
commit
395ad35c93
@ -221,7 +221,7 @@ private:
|
||||
{
|
||||
std::lock_guard lock(mutex);
|
||||
auto it = cells.find(key);
|
||||
if (it != cells.end() && !it->second.expired)
|
||||
if (it != cells.end())
|
||||
{
|
||||
if (!it->second.expired)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user