mirror of
https://github.com/MariaDB/server.git
synced 2025-07-18 23:03:28 +03:00
A fix for MetroWerks compiler.
This commit is contained in:
@ -1636,8 +1636,8 @@ end_with_setting_default_tz:
|
|||||||
/* If we have default time zone try to load it */
|
/* If we have default time zone try to load it */
|
||||||
if (default_tzname)
|
if (default_tzname)
|
||||||
{
|
{
|
||||||
String tzname(default_tzname, &my_charset_latin1);
|
String tmp_tzname(default_tzname, &my_charset_latin1);
|
||||||
if (!(global_system_variables.time_zone= my_tz_find(&tzname, tables)))
|
if (!(global_system_variables.time_zone= my_tz_find(&tmp_tzname, tables)))
|
||||||
{
|
{
|
||||||
sql_print_error("Fatal error: Illegal or unknown default time zone '%s'",
|
sql_print_error("Fatal error: Illegal or unknown default time zone '%s'",
|
||||||
default_tzname);
|
default_tzname);
|
||||||
|
Reference in New Issue
Block a user