summaryrefslogtreecommitdiff
path: root/mysql-test/r/cast.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-06-14 18:45:14 +0200
committerSergei Golubchik <sergii@pisem.net>2011-06-14 18:45:14 +0200
commit54d0ec5732810cef380012d87f6825c6b63bed92 (patch)
treea4bd33e63506d65a7e3aef00d8676d3cce446d5d /mysql-test/r/cast.result
parent93a16a171cbc6b04b7b6c7ef7c86e72c07d6d11d (diff)
downloadmariadb-git-54d0ec5732810cef380012d87f6825c6b63bed92.tar.gz
fix for cast of negative numbers to datetime
Diffstat (limited to 'mysql-test/r/cast.result')
-rw-r--r--mysql-test/r/cast.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result
index 8af6697a262..877a6badc16 100644
--- a/mysql-test/r/cast.result
+++ b/mysql-test/r/cast.result
@@ -329,7 +329,7 @@ cast(cast(1.1 as double) as datetime)
0000-00-00 00:00:01
select cast(cast(-1.1 as double) as datetime);
cast(cast(-1.1 as double) as datetime)
-0000-00-00 00:00:01
+NULL
explain extended select cast(10 as double(5,2));
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used