summaryrefslogtreecommitdiff
path: root/bin/check-bugtracker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-16 11:14:03 +0100
committerErich Eckner <git@eckner.net>2018-02-16 11:14:03 +0100
commitd2e0ef2a558e27e07150f239d91e4c29ce822426 (patch)
treef11a28ba418ecd8fae69fa7fcd3bd6a2623a8dfd /bin/check-bugtracker
parentd7a7e5cebf55c13ab3522e6ec17e11cba878da73 (diff)
downloadbuilder-d2e0ef2a558e27e07150f239d91e4c29ce822426.tar.xz
bin/mysql-functions: mysql_join_*_* new
Diffstat (limited to 'bin/check-bugtracker')
-rwxr-xr-xbin/check-bugtracker2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-bugtracker b/bin/check-bugtracker
index 72ab133..d6e92e5 100755
--- a/bin/check-bugtracker
+++ b/bin/check-bugtracker
@@ -31,7 +31,7 @@ bug_list=$(
while read -r stability_id category; do
for has_issues in '1:' '0:NOT '; do
printf 'UPDATE `binary_packages`'
- printf ' JOIN `repositories` ON `repositories`.`id`=`binary_packages`.`repository`'
+ mysql_join_binary_packages_repositories
printf ' SET `has_issues`=%s' \
"${has_issues%:*}"
printf ' WHERE `repositories`.`stability`=%s' \