diff options
author | Sinisa@sinisa.nasamreza.org <> | 2003-03-28 16:57:03 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2003-03-28 16:57:03 +0200 |
commit | 165b3960beb00ef942a6a7bb10a071690b5b001a (patch) | |
tree | eff9f21bb8d1cad12974a6caca1ec8f3b49d3234 /mysql-test | |
parent | 85fb265c3c39b8fe737ad54bff798386fa4352b4 (diff) | |
download | mariadb-git-165b3960beb00ef942a6a7bb10a071690b5b001a.tar.gz |
Fixing crashing bugs as reported in bugs database
#195
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/cast.result | 3 | ||||
-rw-r--r-- | mysql-test/t/cast.test | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result index 87615b4537e..7909fabc971 100644 --- a/mysql-test/r/cast.result +++ b/mysql-test/r/cast.result @@ -40,3 +40,6 @@ cast("1:2:3" as TIME) = "1:02:03" select cast(NULL as DATE); cast(NULL as DATE) NULL +select cast(NULL as BINARY); +cast(NULL as BINARY) +NULL diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test index 402adf276c5..8703a6b739d 100644 --- a/mysql-test/t/cast.test +++ b/mysql-test/t/cast.test @@ -21,3 +21,4 @@ select cast("2001-1-1" as date) = "2001-01-01"; select cast("2001-1-1" as datetime) = "2001-01-01 00:00:00"; select cast("1:2:3" as TIME) = "1:02:03"; select cast(NULL as DATE); +select cast(NULL as BINARY); |