Skip to content

BI-154 Fix isLocal detection#3599

Merged
alexey-milovidov merged 2 commits intoClickHouse:masterfrom
proller:fix21
Nov 18, 2018
Merged

BI-154 Fix isLocal detection#3599
alexey-milovidov merged 2 commits intoClickHouse:masterfrom
proller:fix21

Conversation

@proller
Copy link
Copy Markdown
Contributor

@proller proller commented Nov 17, 2018

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Comment thread dbms/src/Interpreters/DDLWorker.cpp Outdated
auto maybe_secure_port = context.getTCPPortSecure();
bool is_local_port = maybe_secure_port ? host.isLocalAddress(*maybe_secure_port) : host.isLocalAddress(context.getTCPPort());
bool is_local_port = false;
if (maybe_secure_port)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comment.

@alexey-milovidov alexey-milovidov merged commit f620737 into ClickHouse:master Nov 18, 2018
@alexey-milovidov
Copy link
Copy Markdown
Member

Missing integration test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants