mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
Minor
This commit is contained in:
parent
8a14e99643
commit
e61a77ef97
@ -292,7 +292,7 @@ DataPartStorageOnDiskBase::getReplicatedFilesDescription(const NameSet & file_na
|
||||
ReplicatedFilesDescription description;
|
||||
auto relative_path = fs::path(root_path) / part_dir;
|
||||
auto disk = volume->getDisk();
|
||||
auto read_settings = Context::getGlobalContextInstance()->getReadSettings();
|
||||
auto read_settings = getReadSettings();
|
||||
|
||||
auto actual_file_names = getActualFileNamesOnDisk(file_names);
|
||||
for (const auto & name : actual_file_names)
|
||||
|
@ -205,7 +205,7 @@ void DataPartStorageOnDiskFull::copyFileFrom(const IDataPartStorage & source, co
|
||||
fs::path(source_on_disk->getRelativePath()) / from,
|
||||
*volume->getDisk(),
|
||||
fs::path(root_path) / part_dir / to,
|
||||
Context::getGlobalContextInstance()->getReadSettings());
|
||||
getReadSettings());
|
||||
}
|
||||
|
||||
void DataPartStorageOnDiskFull::createProjection(const std::string & name)
|
||||
|
Loading…
Reference in New Issue
Block a user