From 9852c6a082deefd7e2b20efbde7e4fae2954e8bc Mon Sep 17 00:00:00 2001 From: "bar@mysql.com" <> Date: Mon, 28 Mar 2005 14:17:47 +0500 Subject: [PATCH] union.test: Bug #6519 UNION with collation binary and latin1_swedish_ci fails now Prove that this problem was fixed with bug9425 fix too. --- mysql-test/r/union.result | 5 +++++ mysql-test/t/union.test | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/mysql-test/r/union.result b/mysql-test/r/union.result index f58f0f5b0ac..bfa169af417 100644 --- a/mysql-test/r/union.result +++ b/mysql-test/r/union.result @@ -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 diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test index 82f26f63254..26dc544482e 100644 --- a/mysql-test/t/union.test +++ b/mysql-test/t/union.test @@ -711,3 +711,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';