diff --git a/mysql-test/columnstore/bugfixes/MCOL-5699.result b/mysql-test/columnstore/bugfixes/MCOL-5699.result index 73e34fd00..a90b3560a 100644 --- a/mysql-test/columnstore/bugfixes/MCOL-5699.result +++ b/mysql-test/columnstore/bugfixes/MCOL-5699.result @@ -13,9 +13,9 @@ a b c x +x y z -x SELECT a from cs1 UNION DISTINCT select a from cs2; a a diff --git a/mysql-test/columnstore/bugfixes/MCOL-5699.test b/mysql-test/columnstore/bugfixes/MCOL-5699.test index f2b04f2ca..c5614a2c2 100644 --- a/mysql-test/columnstore/bugfixes/MCOL-5699.test +++ b/mysql-test/columnstore/bugfixes/MCOL-5699.test @@ -13,8 +13,9 @@ INSERT INTO cs2 VALUES('y'),('z'),('x'); CREATE TABLE cs3(a text) ENGINE=columnstore; INSERT INTO cs3 VALUES('r'),('t'),('z'); - +--sorted_result SELECT a from cs1 UNION ALL select a from cs2; +--sorted_result SELECT a from cs1 UNION DISTINCT select a from cs2; --ERROR 1815