mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fix build
This commit is contained in:
parent
30db41e053
commit
7f71c8f07c
@ -816,7 +816,7 @@ void FileCache::loadMetadata()
|
||||
{
|
||||
ProfileEventTimeIncrement<Microseconds> watch(ProfileEvents::FilesystemCacheLoadMetadataMicroseconds);
|
||||
|
||||
if (!metadata.empty())
|
||||
if (!metadata.isEmpty())
|
||||
{
|
||||
throw Exception(
|
||||
ErrorCodes::LOGICAL_ERROR,
|
||||
|
@ -240,7 +240,7 @@ KeyMetadataPtr CacheMetadata::getKeyMetadata(
|
||||
return it->second;
|
||||
}
|
||||
|
||||
bool CacheMetadata::empty() const
|
||||
bool CacheMetadata::isEmpty() const
|
||||
{
|
||||
auto lock = lockMetadata();
|
||||
return empty();
|
||||
|
@ -115,7 +115,7 @@ public:
|
||||
static String getFileNameForFileSegment(size_t offset, FileSegmentKind segment_kind);
|
||||
|
||||
void iterate(IterateFunc && func);
|
||||
bool empty() const;
|
||||
bool isEmpty() const;
|
||||
|
||||
enum class KeyNotFoundPolicy
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user