mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Addition to prev. revision [#METR-2944].
This commit is contained in:
parent
c1ecc41804
commit
6dcabed912
@ -5,7 +5,7 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
BlockIO InterpreterUseQuery::execute() override
|
||||
BlockIO InterpreterUseQuery::execute()
|
||||
{
|
||||
const String & new_database = typeid_cast<const ASTUseQuery &>(*query_ptr).database;
|
||||
context.getSessionContext().setCurrentDatabase(new_database);
|
||||
|
Loading…
Reference in New Issue
Block a user