diff options
author | Erich Eckner <git@eckner.net> | 2018-09-04 09:12:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-04 09:12:03 +0200 |
commit | 62645c91ead00ffaf712983bb7e28f288514f977 (patch) | |
tree | 4af97eed05d96ded4fe6f1bc71fa729d5bc0ebe7 | |
parent | cddb2a6b04c1425953b4082bb230fa6be8ca7449 (diff) | |
download | builder-62645c91ead00ffaf712983bb7e28f288514f977.tar.xz |
lib/mysql-functions: mysql_generate_package_metadata(): add missing condition to mysql join
-rwxr-xr-x | lib/mysql-functions | 2 |
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` (' |