mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
mv_dependencies: remove redundant code
This commit is contained in:
parent
3fcd892a36
commit
1bbfe5340a
@ -777,11 +777,6 @@ void StorageMaterializedView::startup()
|
||||
|
||||
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)
|
||||
refresher->startup();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user