mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
utils/check-style/check-style -n
This commit is contained in:
parent
e8fbe299b6
commit
c843bc1d58
@ -301,7 +301,7 @@ bool DDLWorker::initAndCheckTask(const String & entry_name, String & out_reason)
|
||||
for (const HostID & host : task->entry.hosts)
|
||||
{
|
||||
auto maybe_secure_port = context.getTCPPortSecure();
|
||||
|
||||
|
||||
/// The port is considered local if it matches TCP or TCP secure port that the server is listening.
|
||||
bool is_local_port = (maybe_secure_port && host.isLocalAddress(*maybe_secure_port))
|
||||
|| host.isLocalAddress(context.getTCPPort());
|
||||
|
Loading…
Reference in New Issue
Block a user