fix according to updates in ThreadStatus.h

This commit is contained in:
zvonand 2023-04-12 15:31:58 +02:00
parent 606437bc34
commit daef5d818a

View File

@ -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.