MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / isRemoteDatabase

Method isRemoteDatabase

src/Interpreters/DatabaseCatalog.cpp:606–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606bool DatabaseCatalog::isRemoteDatabase(const String & database_name) const
607{
608 std::lock_guard lock{databases_mutex};
609 return databases.contains(database_name) && !databases_without_remote.contains(database_name);
610}
611
612void DatabaseCatalog::assertDatabaseDoesntExist(const String & database_name) const
613{

Callers 5

executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
attachDatabaseMethod · 0.45
getAllRegisteredNamesMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected