mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 21:55:33 +02:00
MDEV-339, LP1001340 - system_time_zone is wrong on Windows
On localized Windows versions, Windows uses localized time zone names and contain non-ASCII characters. non-ASCII characters appear broken when displayed by clients The fix is to declare system_time_zone variable to have UTF8 encoding and to convert tzname to UTF8.
This commit is contained in:
parent
b14d3adad9
commit
99edca97f4
2 changed files with 17 additions and 8 deletions
|
|
@ -2246,7 +2246,7 @@ static char *system_time_zone_ptr;
|
|||
static Sys_var_charptr Sys_system_time_zone(
|
||||
"system_time_zone", "The server system time zone",
|
||||
READ_ONLY GLOBAL_VAR(system_time_zone_ptr), NO_CMD_LINE,
|
||||
IN_FS_CHARSET, DEFAULT(system_time_zone));
|
||||
IN_SYSTEM_CHARSET, DEFAULT(system_time_zone));
|
||||
|
||||
static Sys_var_ulong Sys_table_def_size(
|
||||
"table_definition_cache",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue