diff --git a/src/Interpreters/DDLTask.cpp b/src/Interpreters/DDLTask.cpp index e7796c5d3a5..85bf6fec655 100644 --- a/src/Interpreters/DDLTask.cpp +++ b/src/Interpreters/DDLTask.cpp @@ -221,7 +221,7 @@ bool DDLTask::findCurrentHostID(ContextPtr global_context, Poco::Logger * log, c std::exception_ptr first_exception = nullptr; const auto maybe_secure_port = global_context->getTCPPortSecure(); - const auto port = global_context->getTCPPort() + const auto port = global_context->getTCPPort(); if (config_host_name) {