diff options
author | unknown <kaa@polly.local> | 2006-09-13 16:06:59 +0400 |
---|---|---|
committer | unknown <kaa@polly.local> | 2006-09-13 16:06:59 +0400 |
commit | a5a9b980545c64c998295e649346de3afd544f73 (patch) | |
tree | 81fa1790787c1929f8f84c662007e725a71524c5 /mysql-test | |
parent | 9f80b604a339db6f66e28b2c6a6f847231739624 (diff) | |
parent | b419501e0df3201cb9d188ffd56fe84c468b3d17 (diff) | |
download | mariadb-git-a5a9b980545c64c998295e649346de3afd544f73.tar.gz |
Merge polly.local:/tmp/20924/bug20294/my50-bug20294
into polly.local:/home/kaa/src/maint/m50-maint--07OGt
sql/item_cmpfunc.cc:
Auto merged
sql/item_cmpfunc.h:
Auto merged
sql/sql_class.h:
Auto merged
mysql-test/r/user_var.result:
Manual merge
mysql-test/t/user_var.test:
Manual merge
sql/item_func.cc:
Manual merge
sql/item_func.h:
Manual merge
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/case.result | 7 | ||||
-rw-r--r-- | mysql-test/r/func_if.result | 7 | ||||
-rw-r--r-- | mysql-test/r/func_test.result | 7 | ||||
-rw-r--r-- | mysql-test/r/user_var.result | 1 | ||||
-rw-r--r-- | mysql-test/t/case.test | 10 | ||||
-rw-r--r-- | mysql-test/t/func_if.test | 15 | ||||
-rw-r--r-- | mysql-test/t/func_test.test | 11 | ||||
-rw-r--r-- | mysql-test/t/user_var.test | 3 |
8 files changed, 3 insertions, 58 deletions
diff --git a/mysql-test/r/case.result b/mysql-test/r/case.result index 7154c689783..cf358e6a404 100644 --- a/mysql-test/r/case.result +++ b/mysql-test/r/case.result @@ -200,10 +200,3 @@ CEMPNUM EMPMUM1 EMPNUM2 0.00 0 0.00 2.00 2 NULL DROP TABLE t1,t2; -SELECT CASE 1 WHEN 1 THEN 18446744073709551615 ELSE 1 END; -CASE 1 WHEN 1 THEN 18446744073709551615 ELSE 1 END -18446744073709551615 -SELECT COALESCE(18446744073709551615); -COALESCE(18446744073709551615) -18446744073709551615 -End of 4.1 tests diff --git a/mysql-test/r/func_if.result b/mysql-test/r/func_if.result index 59f8db93084..eef380c8f52 100644 --- a/mysql-test/r/func_if.result +++ b/mysql-test/r/func_if.result @@ -128,10 +128,3 @@ f1 f2 if(f1, 40.0, 5.00) 0 0 5.00 1 1 40.00 drop table t1; -SELECT IF(1 != 0, 18446744073709551615, 1); -IF(1 != 0, 18446744073709551615, 1) -18446744073709551615 -SELECT IFNULL(NULL, 18446744073709551615); -IFNULL(NULL, 18446744073709551615) -18446744073709551615 -End of 4.1 tests diff --git a/mysql-test/r/func_test.result b/mysql-test/r/func_test.result index 4543988a845..d9437f6c515 100644 --- a/mysql-test/r/func_test.result +++ b/mysql-test/r/func_test.result @@ -204,10 +204,3 @@ NULL SELECT GREATEST(1.5E+2,1.3E+2,NULL) FROM DUAL; GREATEST(1.5E+2,1.3E+2,NULL) NULL -SELECT GREATEST(1, 18446744073709551615); -GREATEST(1, 18446744073709551615) -18446744073709551615 -SELECT LEAST(1, 18446744073709551615); -LEAST(1, 18446744073709551615) -1 -End of 4.1 tests diff --git a/mysql-test/r/user_var.result b/mysql-test/r/user_var.result index 2b9ec8e2164..1664a907c99 100644 --- a/mysql-test/r/user_var.result +++ b/mysql-test/r/user_var.result @@ -301,4 +301,3 @@ select @var; @var 3 drop table t1; -End of 4.1 tests diff --git a/mysql-test/t/case.test b/mysql-test/t/case.test index a22b9cc39f1..0e9e141f6d8 100644 --- a/mysql-test/t/case.test +++ b/mysql-test/t/case.test @@ -152,12 +152,4 @@ SELECT IFNULL(t2.EMPNUM,t1.EMPNUM) AS CEMPNUM, FROM t1 LEFT JOIN t2 ON t1.EMPNUM=t2.EMPNUM; DROP TABLE t1,t2; -# -# Bug #20924: CAST(expr as UNSIGNED) returns SIGNED value when used in various -# functions -# - UNSIGNED values in CASE and COALESCE are treated as SIGNED -# -SELECT CASE 1 WHEN 1 THEN 18446744073709551615 ELSE 1 END; -SELECT COALESCE(18446744073709551615); - ---echo End of 4.1 tests +# End of 4.1 tests diff --git a/mysql-test/t/func_if.test b/mysql-test/t/func_if.test index 553387b9d42..beaa371f847 100644 --- a/mysql-test/t/func_if.test +++ b/mysql-test/t/func_if.test @@ -97,18 +97,3 @@ create table t1 (f1 int, f2 int); insert into t1 values(1,1),(0,0); select f1, f2, if(f1, 40.0, 5.00) from t1 group by f1 order by f2; drop table t1; -# -# Bug #20924: CAST(expr as UNSIGNED) returns SIGNED value when used in various -# functions -# - UNSIGNED values in IF() are treated as SIGNED -# -SELECT IF(1 != 0, 18446744073709551615, 1); - -# -# Bug #20924: CAST(expr as UNSIGNED) returns SIGNED value when used in various -# functions -# - UNSIGNED values in IFNULL() are treated as SIGNED -# -SELECT IFNULL(NULL, 18446744073709551615); - ---echo End of 4.1 tests diff --git a/mysql-test/t/func_test.test b/mysql-test/t/func_test.test index 83432dcc7fc..0ea89cd0913 100644 --- a/mysql-test/t/func_test.test +++ b/mysql-test/t/func_test.test @@ -108,7 +108,6 @@ select 5.1 mod 3, 5.1 mod -3, -5.1 mod 3, -5.1 mod -3; select 5 mod 3, 5 mod -3, -5 mod 3, -5 mod -3; -# # Bug#6726: NOT BETWEEN parse failure # create table t1 (a int, b int); @@ -126,12 +125,4 @@ SELECT LEAST('xxx','aaa',NULL,'yyy') FROM DUAL; SELECT LEAST(1.1,1.2,NULL,1.0) FROM DUAL; SELECT GREATEST(1.5E+2,1.3E+2,NULL) FROM DUAL; -# -# Bug #20924: CAST(expr as UNSIGNED) returns SIGNED value when used in various -# functions -# - UNSIGNED values in GREATEST() and LEAST() are treated as SIGNED -# -SELECT GREATEST(1, 18446744073709551615); -SELECT LEAST(1, 18446744073709551615); - ---echo End of 4.1 tests +# End of 4.1 tests diff --git a/mysql-test/t/user_var.test b/mysql-test/t/user_var.test index 192a92fc660..644ca506eba 100644 --- a/mysql-test/t/user_var.test +++ b/mysql-test/t/user_var.test @@ -144,7 +144,6 @@ select @@version; --replace_column 1 # select @@global.version; -# # Bug #6598: problem with cast(NULL as signed integer); # @@ -211,4 +210,4 @@ select @var:=f2 from t1 group by f1 order by f2 desc limit 1; select @var; drop table t1; ---echo End of 4.1 tests +# End of 4.1 tests |