fix uninitialized ptr

This commit is contained in:
fredwang 2024-11-27 16:47:50 +08:00
parent a1251dcbdb
commit 3aa20efadc
1 changed files with 1 additions and 0 deletions

View File

@ -535,6 +535,7 @@ void logStatusInfo(
element.max_io_time_thread_name = std::move(info.max_io_time_thread_name);
element.max_io_time_thread_ms = info.max_io_time_thread_ms;
element.max_thread_io_profile_counters = std::move(info.max_io_thread_profile_counters);
element.query_settings = std::make_shared<Settings>(context->getSettingsRef());
if (element.max_thread_io_profile_counters)
{