Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-08 14:46:59 +0100
committerErich Eckner <git@eckner.net>2018-11-08 14:46:59 +0100
commit606357eb37c41699a8b120e6d7210c73ddc23740 (patch)
tree13604e8b033472f1889bdf2d79e8ff7ccc063320
parent9e1394ac922d2d786ce1c1138c85b4d8a9abdad9 (diff)
buildmaster/mysql-issues.php: check for matching architecture for built replacements
-rw-r--r--buildmaster/mysql-issues.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index c8d8f26..8f6e19b 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -42,6 +42,7 @@ require_once BASE . "/lib/mysql.php";
" ON `subst_bp`.`pkgname`=`binary_packages`.`pkgname`" .
" AND `subst_bp`.`id`!=`binary_packages`.`id`" .
" AND `repository_stability_relations`.`more_stable`=`repositories`.`stability`" .
+ " AND `subst_r`.`architecture`=`repositories`.`architecture`" .
" 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`" .