diff --git a/mysql-test/columnstore/bugfixes/mcol-4940.result b/mysql-test/columnstore/bugfixes/mcol-4940.result index 0ca364b2b..85a41b6d4 100644 --- a/mysql-test/columnstore/bugfixes/mcol-4940.result +++ b/mysql-test/columnstore/bugfixes/mcol-4940.result @@ -4,8 +4,8 @@ USE mcol_4940; create table rounding_table ( a int, b double, c double) engine=columnstore; insert into rounding_table values (26805, 1252, -9647); insert into rounding_table values (26806, 573, -2804.5); -SELECT CASE a WHEN 26805 THEN ROUND(c/b, 2) WHEN 26806 THEN b END MCOL4940 FROM ( SELECT a, SUM(b) b, SUM(c) c FROM rounding_table GROUP BY a ) abc ; +SELECT CASE a WHEN 26805 THEN ROUND(c/b, 2) WHEN 26806 THEN b END MCOL4940 FROM ( SELECT a, SUM(b) b, SUM(c) c FROM rounding_table GROUP BY a ) abc ORDER BY MCOL4940; MCOL4940 -573 -7.71 +573 DROP DATABASE mcol_4940; diff --git a/mysql-test/columnstore/bugfixes/mcol-4940.test b/mysql-test/columnstore/bugfixes/mcol-4940.test index 4d5ceb23d..2a36d4085 100644 --- a/mysql-test/columnstore/bugfixes/mcol-4940.test +++ b/mysql-test/columnstore/bugfixes/mcol-4940.test @@ -9,6 +9,6 @@ create table rounding_table ( a int, b double, c double) engine=columnstore; insert into rounding_table values (26805, 1252, -9647); insert into rounding_table values (26806, 573, -2804.5); -SELECT CASE a WHEN 26805 THEN ROUND(c/b, 2) WHEN 26806 THEN b END MCOL4940 FROM ( SELECT a, SUM(b) b, SUM(c) c FROM rounding_table GROUP BY a ) abc ; +SELECT CASE a WHEN 26805 THEN ROUND(c/b, 2) WHEN 26806 THEN b END MCOL4940 FROM ( SELECT a, SUM(b) b, SUM(c) c FROM rounding_table GROUP BY a ) abc ORDER BY MCOL4940; DROP DATABASE mcol_4940;