From 62645c91ead00ffaf712983bb7e28f288514f977 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 4 Sep 2018 09:12:03 +0200 Subject: lib/mysql-functions: mysql_generate_package_metadata(): add missing condition to mysql join --- lib/mysql-functions | 2 ++ 1 file changed, 2 insertions(+) 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` (' -- cgit v1.2.3-70-g09d2