summaryrefslogtreecommitdiff
path: root/bin/get-assignment
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/get-assignment
parent8dde526290718371b6da178c65955d431910fd97 (diff)
downloadbuilder-5b6581935b8c1d64313c812e6bfa3d0309aaea18.tar.xz
count(*) -> COUNT(1)
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 0bfe48f..c8fcbaf 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -176,7 +176,7 @@ fi
count_pending=$(
# shellcheck disable=SC2016
{
- printf 'SELECT count(*)'
+ printf 'SELECT COUNT(1)'
printf ' FROM `build_assignments`'
mysql_join_build_assignments_binary_packages
mysql_join_binary_packages_binary_packages_in_repositories