[MDEV-30958] Timezones are not correct after import from linux system Created: 2023-03-29  Updated: 2023-06-18  Resolved: 2023-06-18

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 10.5.19
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Marc Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Environment:

Mageia Linux



 Description   

Table time_zone_transition_type wrong after import in version 10.5.19:

mysql_tzinfo_to_sql /usr/share/zoneinfo|mysql mysql

select * from mysql.time_zone_transition_type LIMIT 10;

Time_zone_id Transition_type_id Offset Is_DST Abbreviation
1 0 0 0  
2 0 0 0  
3 0 0 0  
4 0 0 0  
5 0 0 0  
6 0 0 0  
7 0 0 0  
8 0 0 0  
9 0 0 0  
10 0 0 0  

The same on version 10.11.2:

select * from time_zone_transition_type LIMIT 10;

Time_zone_id Transition_type_id Offset Is_DST Abbreviation
1 0 -968 0 LMT
1 1 0 0 GMT
2 0 -968 0 LMT
2 1 0 0 GMT
3 0 8836 0 LMT
3 1 9000 0 +0230
3 2 10800 0 EAT
3 3 9900 0 +0245
3 4 10800 0 EAT
4 0 732 0 LMT


 Comments   
Comment by Sergei Golubchik [ 2023-05-21 ]

I don't seem to be able to repeat it. Could you attach the output of mysql_tzinfo_to_sql /usr/share/zoneinfo from 10.5?

Generated at Thu Feb 08 10:20:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.