summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-17 18:45:24 +0200
committerErich Eckner <git@eckner.net>2018-10-17 18:45:24 +0200
commitc7bc6b6f6bc59456cf878bea8350701ac7545cc5 (patch)
tree6fcd009ba12db02370120da0781e59963400387d
parent3ba3ee500fa1d5d0eac9f98ffceab1d3e1645698 (diff)
downloadbuilder-c7bc6b6f6bc59456cf878bea8350701ac7545cc5.tar.xz
bin/build-master-status: add missing "GROUP BY"
-rwxr-xr-xbin/build-master-status1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 76e755a..2a71d8d 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -187,6 +187,7 @@ if [ ! -s "${work_dir}/build-master-sanity" ]; then
mysql_join_build_assignments_build_slaves
printf ' LEFT'
mysql_join_build_assignments_build_dependency_loops
+ printf ' GROUP BY `build_assignments`.`architecture`'
printf ') AS `ba_q`'
printf ' ON `ba_q`.`architecture`=`architectures`.`id`'
printf ' LEFT JOIN ('