mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
fix
This commit is contained in:
parent
13e74bef5e
commit
4e78bbd414
@ -549,7 +549,7 @@ LRUFileCache::ReserveResult LRUFileCache::tryReserveForQuery(const Key & key, si
|
|||||||
}
|
}
|
||||||
/// When skip_download_if_exceeds_query_cache is true, there is no need
|
/// When skip_download_if_exceeds_query_cache is true, there is no need
|
||||||
/// to evict old data, skip the cache and read directly from remote fs.
|
/// to evict old data, skip the cache and read directly from remote fs.
|
||||||
else if (query_context->isSkipDownload())
|
else if (query_context->isSkipDownloadIfExceed())
|
||||||
{
|
{
|
||||||
return ReserveResult::NO_ENOUGH_SPACE;
|
return ReserveResult::NO_ENOUGH_SPACE;
|
||||||
}
|
}
|
||||||
|
@ -321,7 +321,7 @@ private:
|
|||||||
|
|
||||||
LRUQueue & queue() { return lru_queue; }
|
LRUQueue & queue() { return lru_queue; }
|
||||||
|
|
||||||
bool isSkipDownload() { return skip_download_if_exceeds_query_cache; }
|
bool isSkipDownloadIfExceed() { return skip_download_if_exceeds_query_cache; }
|
||||||
};
|
};
|
||||||
|
|
||||||
using QueryContextPtr = std::shared_ptr<QueryContext>;
|
using QueryContextPtr = std::shared_ptr<QueryContext>;
|
||||||
|
Loading…
Reference in New Issue
Block a user