mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-04 15:40:49 +00:00
Remove settings apply when not local
This commit is contained in:
parent
b5bc7c0d97
commit
76ef196c5d
@ -77,8 +77,8 @@ ClickHouseDictionarySource::ClickHouseDictionarySource(
|
|||||||
if (is_local)
|
if (is_local)
|
||||||
{
|
{
|
||||||
context.setUser(user, password, Poco::Net::SocketAddress("127.0.0.1", 0));
|
context.setUser(user, password, Poco::Net::SocketAddress("127.0.0.1", 0));
|
||||||
}
|
|
||||||
context = copyContextAndApplySettings(path_to_settings, context, config);
|
context = copyContextAndApplySettings(path_to_settings, context, config);
|
||||||
|
}
|
||||||
|
|
||||||
/// Query context is needed because some code in executeQuery function may assume it exists.
|
/// Query context is needed because some code in executeQuery function may assume it exists.
|
||||||
/// Current example is Context::getSampleBlockCache from InterpreterSelectWithUnionQuery::getSampleBlock.
|
/// Current example is Context::getSampleBlockCache from InterpreterSelectWithUnionQuery::getSampleBlock.
|
||||||
|
Loading…
Reference in New Issue
Block a user