index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-12 08:36:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-12 08:36:08 +0200 |
commit | 27e7f02c6bd5a18c19aeed6b609b12edf45f9d00 (patch) | |
tree | 87806de6d3271950ee67b3db73dbbdfb65a25481 /buildmaster | |
parent | 48d9c19cedc9c5506815e7e56a53a43324419fab (diff) |
-rw-r--r-- | buildmaster/mysql-issues.php | 6 |
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php index 684c44c..97eea84 100644 --- a/buildmaster/mysql-issues.php +++ b/buildmaster/mysql-issues.php @@ -43,7 +43,7 @@ " AND `subst_buildlist_r`.`name`=\"build-list\"". ") ON `subst_buildlist_bp`.`pkgname`=`binary_packages`.`pkgname`" . " WHERE NOT EXISTS (" . - "SELECT * FROM `install_target_providers`" . + "SELECT 1 FROM `install_target_providers`" . " WHERE `install_target_providers`.`install_target` = `dependencies`.`depending_on`" . ")" . $ignore . @@ -81,11 +81,11 @@ " JOIN `install_targets` ON `dependencies`.`depending_on`=`install_targets`.`id`" . " JOIN `architectures` ON `binary_packages`.`architecture`=`architectures`.`id`" . " WHERE EXISTS (" . - "SELECT * FROM `install_target_providers`" . + "SELECT 1 FROM `install_target_providers`" . " WHERE `install_target_providers`.`install_target` = `dependencies`.`depending_on`" . ")" . " AND NOT EXISTS (" . - "SELECT * FROM `install_target_providers`" . + "SELECT 1 FROM `install_target_providers`" . " JOIN `binary_packages` AS `prov_bp` ON `prov_bp`.`id`=`install_target_providers`.`package`" . " JOIN `binary_packages_in_repositories` AS `prov_bpir` ON `prov_bp`.`id`=`prov_bpir`.`package`" . " JOIN `repositories` AS `prov_r` ON `prov_bpir`.`repository`=`prov_r`.`id`" . |