mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix according to updates in ThreadStatus.h
This commit is contained in:
parent
606437bc34
commit
daef5d818a
@ -325,9 +325,8 @@ try
|
||||
{
|
||||
// All that just to set DB::CurrentThread::get().getGlobalContext()
|
||||
// which is required for client timezone (pushed as from server) to work.
|
||||
auto thread_group = std::make_shared<ThreadGroupStatus>();
|
||||
thread_group->global_context = global_context;
|
||||
thread_status.attachQuery(thread_group, false);
|
||||
auto thread_group = std::make_shared<ThreadGroup>();
|
||||
thread_status.attachToGroup(thread_group, false);
|
||||
}
|
||||
|
||||
/// Includes delayed_interactive.
|
||||
|
Loading…
Reference in New Issue
Block a user