diff options
author | unknown <ramil/ram@myoffice.izhnet.ru> | 2007-02-06 14:20:46 +0400 |
---|---|---|
committer | unknown <ramil/ram@myoffice.izhnet.ru> | 2007-02-06 14:20:46 +0400 |
commit | c970941d4379a53a1bd0996f607ab4823fd087b3 (patch) | |
tree | 795d0382b62d771770cd9dfae168ee366152c7f7 /mysql-test/t/cast.test | |
parent | 7043524c57efb7d851353e392b07e9f2a9c770eb (diff) | |
parent | 61b286e4160d83be2dbd9edb92ef4ec359dccb6b (diff) | |
download | mariadb-git-c970941d4379a53a1bd0996f607ab4823fd087b3.tar.gz |
Merge mysql.com:/usr/home/ram/work/bug23938/my50-bug23938
into mysql.com:/usr/home/ram/work/bug23938/my51-bug23938
mysql-test/r/cast.result:
Auto merged
mysql-test/t/cast.test:
Auto merged
sql/item_timefunc.cc:
Auto merged
Diffstat (limited to 'mysql-test/t/cast.test')
-rw-r--r-- | mysql-test/t/cast.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test index ed9fdfa087a..bc50d484a5f 100644 --- a/mysql-test/t/cast.test +++ b/mysql-test/t/cast.test @@ -176,7 +176,13 @@ INSERT INTO t1 SET f1 = +1.0e+30 ; SELECT f1 AS double_val, CAST(f1 AS SIGNED INT) AS cast_val FROM t1; DROP TABLE t1; -# End of 4.1 tests +# +# Bug #23938: cast(NULL as DATE) +# + +select isnull(date(NULL)), isnull(cast(NULL as DATE)); + +--echo End of 4.1 tests #decimal-related additions |