From fdc0d0a919e18eb95dd5b3dd9f9eb15cb82dd7ed Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 18 Nov 2004 16:15:48 +0400 Subject: Check that the third UNION part with COLLATE clause resolves collation conflict for the first and the second parts pair. --- mysql-test/t/union.test | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mysql-test/t/union.test') diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test index 36027e8c4cb..468a88b83db 100644 --- a/mysql-test/t/union.test +++ b/mysql-test/t/union.test @@ -652,5 +652,11 @@ create table t1 as (select b collate latin1_german1_ci from t2); show create table t1; drop table t1; +create table t1 as +(select a from t2) union +(select b from t2) union +(select 'c' collate latin1_german1_ci from t2); +show create table t1; +drop table t1; drop table t2; -- cgit v1.2.1