From 0c9954d977979288509a2c5295f535613a796bb8 Mon Sep 17 00:00:00 2001 From: Julia Kartseva Date: Tue, 1 Oct 2024 22:32:03 +0000 Subject: [PATCH] fix style --- src/Storages/MergeTree/MergeTreeData.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Storages/MergeTree/MergeTreeData.cpp b/src/Storages/MergeTree/MergeTreeData.cpp index b5c881a6efb..e8cdd7d114a 100644 --- a/src/Storages/MergeTree/MergeTreeData.cpp +++ b/src/Storages/MergeTree/MergeTreeData.cpp @@ -1744,9 +1744,8 @@ void MergeTreeData::loadDataParts(bool skip_sanity_checks, std::optionalgetDelegateDiskIfExists(); - is_disk_defined = delegate && !delegate->isBroken() && !delegate->isCustomDisk() - && delegate->getPath() == disk->getPath() - && defined_disk_names.contains(delegate->getName()); + is_disk_defined = delegate && !delegate->isBroken() && !delegate->isCustomDisk() && delegate->getPath() == disk->getPath() + && defined_disk_names.contains(delegate->getName()); } if (!is_disk_defined && disk->existsDirectory(relative_data_path))