Bug #51852 | inconsistency in timezone table | ||
---|---|---|---|
Submitted: | 9 Mar 2010 5:41 | Modified: | 9 Apr 2010 9:03 |
Reporter: | Alagarsamy A | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.1.44 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[9 Mar 2010 5:41]
Alagarsamy A
[9 Mar 2010 9:03]
Sveta Smirnova
Thank you for the report. mysql_tzinfo_to_sql just converts timezone files from your OS, so it can be inserted in SQL tables and I can not repeat differencies in my environment: $mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql51 mysql Warning: Unable to load '/usr/share/zoneinfo/+VERSION' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/Asia/Riyadh87' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/Asia/Riyadh88' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/Asia/Riyadh89' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/Mideast/Riyadh87' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/Mideast/Riyadh88' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/Mideast/Riyadh89' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it. $mysql51 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 892 Server version: 5.1.46-debug Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> select convert_tz(now(), @@global.time_zone, 'America/Sao_Paulo'); +------------------------------------------------------------+ | convert_tz(now(), @@global.time_zone, 'America/Sao_Paulo') | +------------------------------------------------------------+ | 2010-03-09 06:01:08 | +------------------------------------------------------------+ 1 row in set (0.00 sec) mysql> select convert_tz(now(), @@global.time_zone,'America/Buenos_Aires'); +--------------------------------------------------------------+ | convert_tz(now(), @@global.time_zone,'America/Buenos_Aires') | +--------------------------------------------------------------+ | 2010-03-09 06:01:11 | +--------------------------------------------------------------+ 1 row in set (0.01 sec) Please check if timezone settings in your OS are correct.
[9 Apr 2010 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".