mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Fix name hidding
This commit is contained in:
parent
02af85411c
commit
e73cdbae90
@ -203,11 +203,11 @@ MergeTreeData::MergeTreeData(
|
||||
|
||||
|
||||
|
||||
std::optional<std::string> MergeTreeData::IndexGranularityInfo::getMrkExtensionFromFS(const std::string & full_path) const
|
||||
std::optional<std::string> MergeTreeData::IndexGranularityInfo::getMrkExtensionFromFS(const std::string & path_to_part) const
|
||||
{
|
||||
if (Poco::File(full_path).exists()) {
|
||||
if (Poco::File(path_to_part).exists()) {
|
||||
Poco::DirectoryIterator end;
|
||||
for (Poco::DirectoryIterator table_it(full_path); table_it != end; ++table_it)
|
||||
for (Poco::DirectoryIterator table_it(path_to_part); table_it != end; ++table_it)
|
||||
{
|
||||
if (startsWith(table_it.name(), "tmp"))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user