Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/mysql-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 52b3fc1..bf66a73 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -638,10 +638,11 @@ mysql_sanity_check() {
printf ' AND `architecture_compatibilities`.`built_for`=`binary_packages`.`architecture`'
printf ' AND `architecture_compatibilities`.`fully_compatible`'
printf ' WHERE `architecture_compatibilities`.`id` IS NULL;\n'
- printf 'SELECT DISTINCT CONCAT("package multiple times in equally stable repositories: {",`a_r`.`name`,",",`b_r`.`name`,"}/",`a`.`pkgname`)'
+ printf 'SELECT DISTINCT CONCAT("package multiple times in equally stable repositories: ",`a_ra`.`name`,"/{",`a_r`.`name`,",",`b_r`.`name`,"}/",`a`.`pkgname`)'
printf ' FROM `binary_packages` AS `a`'
mysql_join_binary_packages_binary_packages_in_repositories 'a' 'a_bir'
mysql_join_binary_packages_in_repositories_repositories 'a_bir' 'a_r'
+ mysql_join_repositories_architectures 'a_r' 'a_ra'
printf ' JOIN `repositories` AS `b_r`'
printf ' ON `a_r`.`stability`=`b_r`.`stability`'
printf ' AND `a_r`.`architecture`=`b_r`.`architecture`'