Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/mysql-issues.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/mysql-issues.php')
-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`" .