summaryrefslogtreecommitdiff
path: root/mysql-test/t/cast.test
diff options
context:
space:
mode:
authorunknown <mhansson@dl145s.mysql.com>2007-05-29 11:16:30 +0200
committerunknown <mhansson@dl145s.mysql.com>2007-05-29 11:16:30 +0200
commit7782446197aedeb9b50efcef830d6991e0948072 (patch)
tree92d5e7f5a365a3031ab50391b8c828f8d0e16316 /mysql-test/t/cast.test
parent5d8c8803bd08bdba6c8714bfe8037c87e39f3962 (diff)
parent8998080a379f64fc779e79f978e15b43a002e7c5 (diff)
downloadmariadb-git-7782446197aedeb9b50efcef830d6991e0948072.tar.gz
Merge dl145s.mysql.com:/users/mhansson/mysql/push/bug28250/my50-bug28250
into dl145s.mysql.com:/users/mhansson/mysql/push/bug28250/my51-bug28250 mysql-test/t/cast.test: Auto merged sql/item_func.cc: Auto merged
Diffstat (limited to 'mysql-test/t/cast.test')
-rw-r--r--mysql-test/t/cast.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test
index 7217d00a1bb..ab2859a5346 100644
--- a/mysql-test/t/cast.test
+++ b/mysql-test/t/cast.test
@@ -10,7 +10,13 @@ select cast(-5 as unsigned) -1, cast(-5 as unsigned) + 1;
select ~5, cast(~5 as signed);
explain extended select ~5, cast(~5 as signed);
select cast(5 as unsigned) -6.0;
-select cast(NULL as signed), cast(1/0 as signed);
+select cast(NULL as signed), cast(1/0 as signed);
+#
+# Bug #28250: Run-Time Check Failure #3 - The variable 'value' is being used
+# without being def
+#
+# The following line causes Run-Time Check Failure on
+# binaries built with Visual C++ 2005
select cast(NULL as unsigned), cast(1/0 as unsigned);
select cast("A" as binary) = "a", cast(BINARY "a" as CHAR) = "A";
select cast("2001-1-1" as DATE), cast("2001-1-1" as DATETIME);