1# 2# MDEV-4265 5.5 is slower than 5.3 because of many str_to_datetime calls 3# 4--source include/have_debug.inc 5 6create table t1 (a date); 7insert t1 values ('2000-01-02'), ('2001-02-03'), ('2002-03-04'); 8 9SET STATEMENT debug_dbug='d,str_to_datetime_warn' for 10 select * from t1 where a > date_add('2000-01-01', interval 5 day); 11drop table t1; 12 13# 14# MDEV-9707 MAX(timestamp(6) column) in correlated sub-query returns non-existent row data in original table 15# 16create table t1 (id int not null, ut timestamp(6) not null); 17insert into t1 values(1, '2001-01-01 00:00:00.2'); 18insert into t1 values(1, '2001-01-01 00:00:00.1'); 19select * from t1; 20select (select max(m2.ut) from t1 m2 where m1.id <> 0) from t1 m1; 21drop table t1; 22 23