MariaDB's JIRA has moved to jira.mariadb.org. This instance of JIRA has been disabled. You can use your same credentials to log in to the new JIRA!
This script crashes mysqld:
drop table if exists t1;
create table t1 (a datetime(4) not null);
insert into t1 values ('2001-01-01 00:00:00'),('2000-00-00 00:00:00');
select unix_timestamp(a) from t1 order by 1;