From 606357eb37c41699a8b120e6d7210c73ddc23740 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 8 Nov 2018 14:46:59 +0100 Subject: buildmaster/mysql-issues.php: check for matching architecture for built replacements --- buildmaster/mysql-issues.php | 1 + 1 file changed, 1 insertion(+) 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`" . -- cgit v1.2.3-70-g09d2