summaryrefslogtreecommitdiff
path: root/mysql-test/t/cache_temporal_4265.test
blob: 6135438f023a8086c4b46a1278b0c3ff87ec3797 (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# MDEV-4265 5.5 is slower than 5.3 because of many str_to_datetime calls
#
--source include/have_debug.inc

create table t1 (a date);
insert t1 values ('2000-01-02'), ('2001-02-03'), ('2002-03-04');
set debug_dbug='d,str_to_datetime_warn';
select * from t1 where a > date_add('2000-01-01', interval 5 day);
drop table t1;