diff options
author | unknown <jani@rhols221.adsl.netsonic.fi> | 2004-09-16 16:24:45 +0300 |
---|---|---|
committer | unknown <jani@rhols221.adsl.netsonic.fi> | 2004-09-16 16:24:45 +0300 |
commit | 06b8f83f46667d4a1be23804bc982f3f5947397f (patch) | |
tree | d177ad8c3eec18d2a6aa7ce2c040374a902b4142 /sql/tztime.cc | |
parent | 9a133fd75ecd7a9523b07ba1f0d571cc076804a4 (diff) | |
download | mariadb-git-06b8f83f46667d4a1be23804bc982f3f5947397f.tar.gz |
A fix for MetroWerks compiler.
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index af9af530fec..08e6fc7026e 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1636,8 +1636,8 @@ end_with_setting_default_tz: /* 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); |