mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
upd
This commit is contained in:
parent
ecd0b4cc06
commit
07630ef43f
@ -1082,9 +1082,7 @@ void ClientBase::onProgress(const Progress & value)
|
||||
|
||||
void ClientBase::onTimezoneUpdate(const String & tz)
|
||||
{
|
||||
Settings settings;
|
||||
settings.session_timezone = tz;
|
||||
global_context->applySettingsChanges(settings.changes());
|
||||
global_context->setSetting("session_timezone", tz);
|
||||
}
|
||||
|
||||
|
||||
|
@ -355,10 +355,10 @@ void Connection::receiveHello()
|
||||
nonce.emplace(read_nonce);
|
||||
}
|
||||
}
|
||||
else if (packet_type == Protocol::Server::TimezoneUpdate)
|
||||
{
|
||||
// skip this packet at hello, will receive and process it later
|
||||
}
|
||||
// else if (packet_type == Protocol::Server::TimezoneUpdate)
|
||||
// {
|
||||
// // skip this packet at hello, will receive and process it later
|
||||
// }
|
||||
else if (packet_type == Protocol::Server::Exception)
|
||||
receiveException()->rethrow();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user