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-09-04 09:12:03 +0200
committerErich Eckner <git@eckner.net>2018-09-04 09:12:03 +0200
commit62645c91ead00ffaf712983bb7e28f288514f977 (patch)
tree4af97eed05d96ded4fe6f1bc71fa729d5bc0ebe7
parentcddb2a6b04c1425953b4082bb230fa6be8ca7449 (diff)
lib/mysql-functions: mysql_generate_package_metadata(): add missing condition to mysql join
-rwxr-xr-xlib/mysql-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index c975fdc..e0715c3 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -435,6 +435,8 @@ mysql_generate_package_metadata() {
printf ' JOIN `architectures` AS `ba_a`'
printf ' ON `ba_a`.`name`=`links`.`build_architecture`'
mysql_join_architectures_build_assignments 'ba_a'
+ printf ' AND `build_assignments`.`package_source`=%s' \
+ "${package_source_id}"
printf ' WHERE `links`.`type`="arch";\n'
printf 'INSERT IGNORE INTO `binary_packages_in_repositories` ('