mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
better[2]
This commit is contained in:
parent
cef9e19eb2
commit
e601a432e5
@ -412,7 +412,7 @@ void Connection::sendQuery(
|
||||
{
|
||||
if (!connected)
|
||||
connect(timeouts);
|
||||
|
||||
|
||||
TimeoutSetter timeout_setter(*socket, timeouts.send_timeout, timeouts.receive_timeout, true);
|
||||
|
||||
if (settings)
|
||||
@ -447,7 +447,6 @@ void Connection::sendQuery(
|
||||
/// Per query settings.
|
||||
if (settings)
|
||||
{
|
||||
std::cout << "Settings enabled" << std::endl;
|
||||
auto settings_format = (server_revision >= DBMS_MIN_REVISION_WITH_SETTINGS_SERIALIZED_AS_STRINGS) ? SettingsWriteFormat::STRINGS_WITH_FLAGS
|
||||
: SettingsWriteFormat::BINARY;
|
||||
settings->write(*out, settings_format);
|
||||
|
Loading…
Reference in New Issue
Block a user