2589
2589
insert into t1 values(1,'2005-01-01'),(2,'2005-09-01'),(3,'2005-09-30'),
2590
2590
(4,'2005-10-01'),(5,'2005-12-30');
2591
2591
# should return all records
2593
2593
select * from t1 where f2 >= 0 order by f2;
2594
2594
--error ER_INVALID_DATETIME_VALUE # Bad date
2595
2595
select * from t1 where f2 >= '0000-00-00' order by f2;