Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-17 11:21:45 +0200
committerErich Eckner <git@eckner.net>2020-06-17 11:21:45 +0200
commitb4cb5a7b0021e08fd919d8b287074d3727540928 (patch)
tree98274dcfb00f20d7030c2a7ec5107cacfe7008bc /bin/return-assignment
parenta4b9606a0d966b90ccba1392c8867638139a9573 (diff)
bin/return-assignment: fix type error: `build_assignments`.`is_broken` is a BIT and not something that is NULL if not-broken
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index aa0fa4f..9c141f0 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -412,7 +412,7 @@ if [ "$6" = 'ERROR' ]; then
mysql_join_binary_packages_build_assignments
# TODO: We might want to relax the below condition somewhat. But we should
# be careful to avoid prioritizing-loops.
- printf ' AND `build_assignments`.`is_broken` IS NULL'
+ printf ' AND NOT `build_assignments`.`is_broken`'
mysql_join_binary_packages_binary_packages_in_repositories
printf ' AND `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_build_list}"