Commit 06b8f83f authored by unknown's avatar unknown

A fix for MetroWerks compiler.

parent 9a133fd7
......@@ -1636,8 +1636,8 @@ my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap)
/* If we have default time zone try to load it */
if (default_tzname)
{
String tzname(default_tzname, &my_charset_latin1);
if (!(global_system_variables.time_zone= my_tz_find(&tzname, tables)))
String tmp_tzname(default_tzname, &my_charset_latin1);
if (!(global_system_variables.time_zone= my_tz_find(&tmp_tzname, tables)))
{
sql_print_error("Fatal error: Illegal or unknown default time zone '%s'",
default_tzname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment