index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-02-13 18:28:39 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-13 18:28:39 +0100 |
commit | 98e596252854ad77272b264e8124259bb141c5fb (patch) | |
tree | 7126513f7a639c329113c1bde2dfa30ee6ec5d97 /bin/mysql-functions | |
parent | 53235d7796b666cb678483fa12d5c527d9c7b854 (diff) |
-rwxr-xr-x | bin/mysql-functions | 8 |
diff --git a/bin/mysql-functions b/bin/mysql-functions index 1cd68cf..f30c9a2 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -567,8 +567,6 @@ mysql_generate_package_metadata() { printf ' `binary_packages`' printf ' JOIN `architectures`' printf ' ON `binary_packages`.`architecture` = `architectures`.`id`' - printf ' JOIN `repositories`' - printf ' ON `binary_packages`.`repository` = `repositories`.`id`' printf ' JOIN `install_targets`' printf ' JOIN `%s`' "${link}" printf ' ON `%s`.`name` = `install_targets`.`name`' "${link}" @@ -589,10 +587,10 @@ mysql_generate_package_metadata() { # b) it is not necessary to do so: if only the sub_pkgrel # changed, the dependencies and provided install_targets # should not have changed - printf ' `architectures`.`name` = from_base64("%s") AND' \ + printf ' `architectures`.`name` = from_base64("%s");\n' \ "${arch}" - printf ' `repositories`.`name` = from_base64("%s");\n' \ - "${current_repository}" + # the repository is of no relevance: it hardly matters for + # the dependencies done printf 'DROP TABLE `%s`;\n' \ |