From 1b9d3dc4ca9125859194192aa159b06dac564af3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Oct 2018 18:56:02 +0200 Subject: bin/build-master-status: build-assignment statistics should only care about packages which are on the build-list --- bin/build-master-status | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin/build-master-status') diff --git a/bin/build-master-status b/bin/build-master-status index 2a71d8d..ec02136 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -183,6 +183,15 @@ if [ ! -s "${work_dir}/build-master-sanity" ]; then mysql_join_build_assignments_binary_packages mysql_join_binary_packages_binary_packages_in_repositories mysql_join_binary_packages_in_repositories_repositories + printf ' JOIN (' + printf 'SELECT `binary_packages`.`build_assignment`' + printf ' FROM `binary_packages`' + mysql_join_binary_packages_binary_packages_in_repositories + printf ' WHERE `binary_packages_in_repositories`.`repository`=%s' \ + "${repository_ids__any_build_list}" + printf ' GROUP BY `binary_packages`.`build_assignment`' + printf ') AS `bp_subq`' + printf ' ON `bp_subq`.`build_assignment`=`build_assignments`.`id`' printf ' LEFT' mysql_join_build_assignments_build_slaves printf ' LEFT' -- cgit v1.2.3-70-g09d2