Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-31 15:41:08 +0200
committerErich Eckner <git@eckner.net>2018-05-31 15:41:08 +0200
commit5b6581935b8c1d64313c812e6bfa3d0309aaea18 (patch)
tree723912bc40fcb599152e38b7bcb45a1bc1daa675 /bin/why-dont-you
parent8dde526290718371b6da178c65955d431910fd97 (diff)
count(*) -> COUNT(1)
Diffstat (limited to 'bin/why-dont-you')
-rwxr-xr-xbin/why-dont-you2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index e35e0bd..b05f98e 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -44,7 +44,7 @@ case "${action}" in
printf 'SELECT DISTINCT `to_build`.`ba_id`,'
printf 'If(`to_build`.`is_broken`,1,0),'
printf '('
- printf 'SELECT count(*) FROM `failed_builds`'
+ printf 'SELECT COUNT(1) FROM `failed_builds`'
printf 'WHERE `failed_builds`.`build_assignment`=`to_build`.`ba_id`'
printf ')'
printf ',replace(to_base64(`%s`.`%s`),"\\n","")' \