diff options
author | unknown <ramil/ram@mysql.com/myoffice.izhnet.ru> | 2007-02-06 13:57:20 +0400 |
---|---|---|
committer | unknown <ramil/ram@mysql.com/myoffice.izhnet.ru> | 2007-02-06 13:57:20 +0400 |
commit | 61b286e4160d83be2dbd9edb92ef4ec359dccb6b (patch) | |
tree | 6a846f152b3fe7568c4a9df71317dcdfb627a653 /mysql-test/t/cast.test | |
parent | 2f0b1d658090e284acaec088eca9f7a6b5a4118b (diff) | |
parent | 665004c8e0a83e72b735acd2721b91cc9e15e8a4 (diff) | |
download | mariadb-git-61b286e4160d83be2dbd9edb92ef4ec359dccb6b.tar.gz |
Merge mysql.com:/usr/home/ram/work/bug23938/my41-bug23938
into mysql.com:/usr/home/ram/work/bug23938/my50-bug23938
sql/item_timefunc.cc:
Auto merged
mysql-test/r/cast.result:
SCCS merged
mysql-test/t/cast.test:
SCCS 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 ecc92ed01d1..502c5781f1f 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 |