mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mhansson@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into dl145s.mysql.com:/users/mhansson/mysql/autopush/my50-bug28250 sql/item_func.cc: Auto merged
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user