mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Update DatabaseCatalog.cpp
This commit is contained in:
parent
01f4e2e0e0
commit
40673aa1f5
@ -609,6 +609,12 @@ Dependencies DatabaseCatalog::getDependencies(const StorageID & from) const
|
||||
return Dependencies(iter->second.begin(), iter->second.end());
|
||||
}
|
||||
|
||||
void DatabaseCatalog::getViewDependencies(ViewDependencies & view_dependencies_) const
|
||||
{
|
||||
std::lock_guard lock{databases_mutex};
|
||||
view_dependencies_ = view_dependencies;
|
||||
}
|
||||
|
||||
void
|
||||
DatabaseCatalog::updateDependency(const StorageID & old_from, const StorageID & old_where, const StorageID & new_from,
|
||||
const StorageID & new_where)
|
||||
|
Loading…
Reference in New Issue
Block a user