• Vladislav Vaintroub's avatar
    MDEV-29102 system_time_zone is incorrect on Windows when TZ is set · 4fec99a2
    Vladislav Vaintroub authored
    MDEV-19243 introduced a regression on Windows.
    
    In (supposedly rare) case, where environment variable TZ was set,
    @@system_time_zone no longer derives from TZ. Instead, it incorrecty
    refers to system default time zone, eventhough UTC time conversion
    takes TZ into account.
    
    The fix is to restore TZ-aware handling (timezone name derives from
    tzname), if TZ is set.
    4fec99a2
mysqld.cc 362 KB