=== modified file 'sql/tztime.cc' --- sql/tztime.cc 2014-03-26 21:25:38 +0000 +++ sql/tztime.cc 2014-05-13 12:49:26 +0000 @@ -2405,6 +2405,20 @@ { uint i; + /* + Some timezones (e.g. 'Factory' do not provide a proper transition + type time zone string but a warning message like: + + 'Local time zone must be set--see zic manual page' + + Lets ignore these if the text is longer than the 8 + characters we have defined for `Abbreviation` in the + `time_zone_transition_type` table + */ + if (strlen(sp->chars + sp->ttis[0].tt_abbrind) > 8) + return; + + /* Here we assume that all time zones have same leap correction tables */ printf("INSERT INTO time_zone (Use_leap_seconds) VALUES ('%s');\n", sp->leapcnt ? "Y" : "N");