Loading mysql-test/r/case.result +1 −0 Original line number Diff line number Diff line Loading @@ -183,3 +183,4 @@ CASE 1 WHEN 1 THEN 18446744073709551615 ELSE 1 END SELECT COALESCE(18446744073709551615); COALESCE(18446744073709551615) 18446744073709551615 End of 4.1 tests mysql-test/r/func_if.result +1 −0 Original line number Diff line number Diff line Loading @@ -105,3 +105,4 @@ IF(1 != 0, 18446744073709551615, 1) SELECT IFNULL(NULL, 18446744073709551615); IFNULL(NULL, 18446744073709551615) 18446744073709551615 End of 4.1 tests mysql-test/r/func_test.result +1 −0 Original line number Diff line number Diff line Loading @@ -189,3 +189,4 @@ GREATEST(1, 18446744073709551615) SELECT LEAST(1, 18446744073709551615); LEAST(1, 18446744073709551615) 1 End of 4.1 tests mysql-test/r/user_var.result +1 −0 Original line number Diff line number Diff line Loading @@ -207,3 +207,4 @@ set @a=18446744073709551615; select @a; @a 18446744073709551615 End of 4.1 tests mysql-test/t/case.test +4 −2 Original line number Diff line number Diff line Loading @@ -131,9 +131,11 @@ from t1 where b=3 group by b; drop table t1; # # Bug #20924: UNSIGNED values in CASE and COALESCE are treated as SIGNED # 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); # End of 4.1 tests --echo End of 4.1 tests Loading
mysql-test/r/case.result +1 −0 Original line number Diff line number Diff line Loading @@ -183,3 +183,4 @@ CASE 1 WHEN 1 THEN 18446744073709551615 ELSE 1 END SELECT COALESCE(18446744073709551615); COALESCE(18446744073709551615) 18446744073709551615 End of 4.1 tests
mysql-test/r/func_if.result +1 −0 Original line number Diff line number Diff line Loading @@ -105,3 +105,4 @@ IF(1 != 0, 18446744073709551615, 1) SELECT IFNULL(NULL, 18446744073709551615); IFNULL(NULL, 18446744073709551615) 18446744073709551615 End of 4.1 tests
mysql-test/r/func_test.result +1 −0 Original line number Diff line number Diff line Loading @@ -189,3 +189,4 @@ GREATEST(1, 18446744073709551615) SELECT LEAST(1, 18446744073709551615); LEAST(1, 18446744073709551615) 1 End of 4.1 tests
mysql-test/r/user_var.result +1 −0 Original line number Diff line number Diff line Loading @@ -207,3 +207,4 @@ set @a=18446744073709551615; select @a; @a 18446744073709551615 End of 4.1 tests
mysql-test/t/case.test +4 −2 Original line number Diff line number Diff line Loading @@ -131,9 +131,11 @@ from t1 where b=3 group by b; drop table t1; # # Bug #20924: UNSIGNED values in CASE and COALESCE are treated as SIGNED # 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); # End of 4.1 tests --echo End of 4.1 tests