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

Method setCurrentDatabase

src/Interpreters/Context.cpp:3400–3404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3398}
3399
3400void Context::setCurrentDatabase(const String & name)
3401{
3402 std::lock_guard lock(mutex);
3403 setCurrentDatabaseWithLock(name, lock);
3404}
3405
3406void Context::setCurrentDatabaseUnchecked(const String & name)
3407{

Callers 15

processConfigMethod · 0.45
createRefreshContextMethod · 0.45
alterMethod · 0.45
StateMethod · 0.45
executeQueryMethod · 0.45
runMethod · 0.45
comInitDBMethod · 0.45
processQueryMethod · 0.45
runImplMethod · 0.45

Calls

no outgoing calls

Tested by 1

StateMethod · 0.36