mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
fix infinite loop in StorageMerge::isRemote() [#CLICKHOUSE-2911]
This commit is contained in:
parent
a3590e266e
commit
4cd9df27ab
@ -59,6 +59,8 @@ bool StorageMerge::isRemote() const
|
||||
{
|
||||
if (table_name_regexp.match(iterator->name()) && iterator->table()->isRemote())
|
||||
return true;
|
||||
|
||||
iterator->next();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user