fix infinite loop in StorageMerge::isRemote() [#CLICKHOUSE-2911]

This commit is contained in:
Alex Zatelepin 2017-06-16 03:21:00 +03:00 committed by GitHub
parent a3590e266e
commit 4cd9df27ab

View File

@ -59,6 +59,8 @@ bool StorageMerge::isRemote() const
{
if (table_name_regexp.match(iterator->name()) && iterator->table()->isRemote())
return true;
iterator->next();
}
return false;
}