Commit c859efcc authored by unknown's avatar unknown

Bug #31253: crash comparing datetime to double

after-merge fixies


mysql-test/r/type_datetime.result:
  adjust to 5.1 warning message
parent 3e1da1ae
...@@ -434,7 +434,7 @@ select * from t1 where (convert(f1,datetime)) != 1; ...@@ -434,7 +434,7 @@ select * from t1 where (convert(f1,datetime)) != 1;
f1 f1
15:44:44 15:44:44
Warnings: Warnings:
Warning 1292 Truncated incorrect datetime value: '0000-00-00 45:44:44' Warning 1292 Incorrect datetime value: '0000-00-00 45:44:44'
drop table t1; drop table t1;
set @org_mode=@@sql_mode; set @org_mode=@@sql_mode;
create table t1 (da date default '1962-03-03 23:33:34', dt datetime default '1962-03-03'); create table t1 (da date default '1962-03-03 23:33:34', dt datetime default '1962-03-03');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment