Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-08 14:41:50 +0100
committerErich Eckner <git@eckner.net>2018-11-08 14:41:50 +0100
commit9b4160764ced8ee36e5262d0fa954c71d6898377 (patch)
tree419b37c2e56794276a345bfc7904670eb892559e /buildmaster
parentf79397a4bcdc2e55d5001b084beb5a3473480541 (diff)
buildmaster/mysql-issues.php
buildmaster/mysql-issues.php: repository_stability_relations links against repositories.stability, not repositories.id
Diffstat (limited to 'buildmaster')
-rw-r--r--buildmaster/mysql-issues.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index 33ae438..f5b5d1e 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -37,11 +37,11 @@ require_once BASE . "/lib/mysql.php";
" LEFT JOIN (`binary_packages` AS `subst_bp`" .
" JOIN `binary_packages_in_repositories` as `subst_bpir` ON `subst_bp`.`id`=`subst_bpir`.`package`" .
" JOIN `repositories` AS `subst_r` ON `subst_bpir`.`repository`=`subst_r`.`id`" .
- " JOIN `repository_stability_relations` ON `repository_stability_relations`.`less_stable`=`subst_r`.`id`" .
+ " JOIN `repository_stability_relations` ON `repository_stability_relations`.`less_stable`=`subst_r`.`stability`" .
")" .
" ON `subst_bp`.`pkgname`=`binary_packages`.`pkgname`" .
" AND `subst_bp`.`id`!=`binary_packages`.`id`" .
- " AND `repository_stability_relations`.`more_stable`=`repositories`.`id`" .
+ " AND `repository_stability_relations`.`more_stable`=`repositories`.`stability`" .
" LEFT JOIN (`binary_packages` AS `subst_buildlist_bp`" .
" JOIN `binary_packages_in_repositories` AS `subst_buildlist_bpir` ON `subst_buildlist_bp`.`id`=`subst_buildlist_bpir`.`package`" .
" JOIN `repositories` AS `subst_buildlist_r` ON `subst_buildlist_bpir`.`repository`=`subst_buildlist_r`.`id`" .