Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-02 14:48:11 +0200
committerErich Eckner <git@eckner.net>2018-05-02 14:48:11 +0200
commit15421458d7acd49b561cc4c518be002ade4356b4 (patch)
treeec16c436516e67c89a9de80f4c6314e55204b692
parent6ba009bc8b913d1f35971470a393d84ac20bde67 (diff)
bin/get-package-updates: select * -> select 1
-rwxr-xr-xbin/get-package-updates6
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'