2818
2818
insert into t1 values(1,'2005-01-01'),(2,'2005-09-01'),(3,'2005-09-30'),
2819
2819
(4,'2005-10-01'),(5,'2005-12-30');
2820
2820
select * from t1 where f2 >= 0 order by f2;
2822
2822
select * from t1 where f2 >= '0000-00-00' order by f2;
2823
2823
ERROR HY000: Received an invalid datetime value '0000-00-00'.
2824
2824
select * from t1 where f2 >= '2005-09-31' order by f2;