Loading mysql-test/r/union.result +5 −0 Original line number Diff line number Diff line Loading @@ -1195,3 +1195,8 @@ a b 2 b 3 c drop table t1; set @val:=6; select concat('value is: ', @val) union select 'some text'; concat('value is: ', @val) value is: 6 some text mysql-test/t/union.test +6 −0 Original line number Diff line number Diff line Loading @@ -729,3 +729,9 @@ select * from ((select * from t1 limit 1) union (select * from t1 limit 1) union select * from ((((select * from t1))) union (select * from t1) union (select * from t1)) a; select * from ((select * from t1) union (((select * from t1))) union (select * from t1)) a; drop table t1; # # Bugs#6519 UNION with collation binary and latin1_swedish_ci fails # set @val:=6; select concat('value is: ', @val) union select 'some text'; Loading
mysql-test/r/union.result +5 −0 Original line number Diff line number Diff line Loading @@ -1195,3 +1195,8 @@ a b 2 b 3 c drop table t1; set @val:=6; select concat('value is: ', @val) union select 'some text'; concat('value is: ', @val) value is: 6 some text
mysql-test/t/union.test +6 −0 Original line number Diff line number Diff line Loading @@ -729,3 +729,9 @@ select * from ((select * from t1 limit 1) union (select * from t1 limit 1) union select * from ((((select * from t1))) union (select * from t1) union (select * from t1)) a; select * from ((select * from t1) union (((select * from t1))) union (select * from t1)) a; drop table t1; # # Bugs#6519 UNION with collation binary and latin1_swedish_ci fails # set @val:=6; select concat('value is: ', @val) union select 'some text';