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>2019-01-25 07:53:57 +0100
committerErich Eckner <git@eckner.net>2019-01-25 07:54:10 +0100
commit1f57c55997a9244c72fed978537ba51a6c5f0534 (patch)
treec00dac0c5448f961b481ac8ac19e97cc64913ddf
parent5519d7ca9517263875bbb475da42b757712fb5d5 (diff)
bin/bootstrap-mysql: package_blobs are only relevant if of identical architecture!
-rwxr-xr-xbin/bootstrap-mysql1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index a5f8ad6..c88c3a1 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -357,6 +357,7 @@ fi
printf ' ON `build_assignments`.`package_source`=`package_blobs`.`ps_a`'
printf ' JOIN `build_assignments` AS `bl_ba`'
printf ' ON `bl_ba`.`package_source`=`package_blobs`.`ps_b`'
+ printf ' AND `bl_ba`.`architecture`=`build_assignments`.`architecture`'
mysql_join_build_assignments_binary_packages 'bl_ba' 'bl_bp'
mysql_join_binary_packages_binary_packages_in_repositories 'bl_bp' 'bl_bpir'
printf ' WHERE NOT EXISTS ('