diff options
author | Erich Eckner <git@eckner.net> | 2018-05-02 14:48:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-02 14:48:11 +0200 |
commit | 15421458d7acd49b561cc4c518be002ade4356b4 (patch) | |
tree | ec16c436516e67c89a9de80f4c6314e55204b692 /bin/get-package-updates | |
parent | 6ba009bc8b913d1f35971470a393d84ac20bde67 (diff) | |
download | builder-15421458d7acd49b561cc4c518be002ade4356b4.tar.xz |
bin/get-package-updates: select * -> select 1
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index ef701a9..73766c8 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -456,10 +456,10 @@ while [ -n "${black_listed_new}" ]; do printf ' AND `dependency_types`.`relevant_for_building`' printf ' AND `dependency_types`.`relevant_for_binary_packages`' printf ' WHERE NOT EXISTS (' - printf ' SELECT *' + printf ' SELECT 1' printf ' FROM `install_target_providers`' printf ' WHERE NOT EXISTS (' - printf ' SELECT *' + printf ' SELECT 1' printf ' FROM `bl`' printf ' JOIN `package_sources` AS `b_ps` ON `bl`.`pkgbase`=`b_ps`.`pkgbase`' mysql_join_package_sources_build_assignments 'b_ps' 'b_ba' @@ -470,7 +470,7 @@ while [ -n "${black_listed_new}" ]; do printf ') AND EXISTS (' # TODO: This should be corrected at the root: automatic install targets, which are bogus should # not be added in the first place - but how do we detect that? - printf ' SELECT *' + printf ' SELECT 1' printf ' FROM `install_target_providers`' printf ' WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`' printf ');\n' |