mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Fix directory check
This commit is contained in:
parent
d2615863f3
commit
0bfb7b18ce
@ -212,7 +212,7 @@ std::optional<std::string> MergeTreeData::IndexGranularityInfo::getMrkExtensionF
|
|||||||
if (startsWith(table_it.name(), "tmp"))
|
if (startsWith(table_it.name(), "tmp"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (table_it.path().isDirectory())
|
if (Poco::File(table_it.path()).isDirectory())
|
||||||
{
|
{
|
||||||
for (Poco::DirectoryIterator part_it(table_it.path()); part_it != end; ++part_it)
|
for (Poco::DirectoryIterator part_it(table_it.path()); part_it != end; ++part_it)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user