summaryrefslogtreecommitdiff
path: root/mysql-test/t/group_by.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-06-03 18:45:08 +0200
committerSergei Golubchik <serg@mariadb.org>2015-06-03 18:45:08 +0200
commitc79e98e4918635da126231224088c054a21917be (patch)
tree69b4aa2e27876f1a3ac985a9f24d041c60d5b463 /mysql-test/t/group_by.test
parent5d8cee44073025e5e9da44d7643583b0448c2b85 (diff)
downloadmariadb-git-c79e98e4918635da126231224088c054a21917be.tar.gz
MDEV-8085 main.group_by failed in buildbot
change the test case to be deterministic (while still sufficient to test a bug)
Diffstat (limited to 'mysql-test/t/group_by.test')
-rw-r--r--mysql-test/t/group_by.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/group_by.test b/mysql-test/t/group_by.test
index e5beeef17fe..c94d27b1d16 100644
--- a/mysql-test/t/group_by.test
+++ b/mysql-test/t/group_by.test
@@ -1523,7 +1523,7 @@ DROP TABLE t1;
create table t1 (a int, b int);
insert into t1 values (1,11), (1,12), (2,22),(2,23), (4,44),(4,45);
create table t2 (c int, d int);
-insert into t2 values (1,11), (1,12), (2,22),(2,23), (4,44),(4,45);
+insert into t2 values (1,11), (2,22), (4,44);
select distinct a,sum(b), (select d from t2 where c=a order by max(b) limit 1) from t1 group by a order by max(b);
drop table t1, t2;