diff options
author | Erich Eckner <git@eckner.net> | 2018-06-01 10:26:10 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-01 10:26:10 +0200 |
commit | 35829c844687d874f5e6ab0f4807261bf5b95268 (patch) | |
tree | 8c5719904340006bea3bfc42098355bd30e59cb8 /lib/common-functions | |
parent | 098737504523fe2ea1c89cff20a0fba69c2415c2 (diff) | |
download | builder-35829c844687d874f5e6ab0f4807261bf5b95268.tar.xz |
lib/: improve some queries
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions index c4f9d82..4c852ac 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -148,8 +148,8 @@ remove_old_package_versions() { printf '`d_r`.`name`,"/",' mysql_package_name_query 'd_bp' 'd_bpa' printf ')' - printf ' FROM `binary_packages` AS `d_bp`' - mysql_join_binary_packages_binary_packages_in_repositories 'd_bp' 'd_bpir' + printf ' FROM `binary_packages_in_repositories` AS `d_bpir`' + mysql_join_binary_packages_in_repositories_binary_packages 'd_bpir' 'd_bp' mysql_join_binary_packages_in_repositories_repositories 'd_bpir' 'd_r' printf ' AND `d_r`.`is_on_master_mirror`' mysql_join_repositories_architectures 'd_r' 'd_ra' |