mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Fix empty TZ error
This commit is contained in:
parent
d61f833cfa
commit
44dcee5b11
@ -46,7 +46,7 @@ std::string determineDefaultTimeZone()
|
||||
/// may give wrong timezone names - store the name as it is, if possible.
|
||||
std::string tz_name;
|
||||
|
||||
if (tz_env_var)
|
||||
if (!tz_env_var.empty())
|
||||
{
|
||||
error_prefix = std::string("Could not determine time zone from TZ variable value: '") + tz_env_var + "': ";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user