mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
mv_dependencies: remove redundant code
This commit is contained in:
parent
3fcd892a36
commit
1bbfe5340a
@ -777,11 +777,6 @@ void StorageMaterializedView::startup()
|
|||||||
|
|
||||||
pushDependencies();
|
pushDependencies();
|
||||||
|
|
||||||
auto metadata_snapshot = getInMemoryMetadataPtr();
|
|
||||||
const auto & select_query = metadata_snapshot->getSelectQuery();
|
|
||||||
if (!select_query.select_table_id.empty())
|
|
||||||
DatabaseCatalog::instance().addViewDependency(select_query.select_table_id, getStorageID());
|
|
||||||
|
|
||||||
if (refresher)
|
if (refresher)
|
||||||
refresher->startup();
|
refresher->startup();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user