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-09-13 14:39:34 +0200
committerErich Eckner <git@eckner.net>2018-09-13 14:39:34 +0200
commit80b8063b818559b4d71df881c0b87e220385b726 (patch)
tree61aa1766b6ac373b2693a3a24c46351dc524e33b
parent785b82a24b0fca67f5ec9a1383fd995283f20088 (diff)
bin/get-assignment: lib/mysql-functions mysql_query_has_pending_dependencies() takes architecture id, not label!
-rwxr-xr-xbin/get-assignment2
-rwxr-xr-xlib/mysql-functions2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 0df5693..7ce2954 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -186,7 +186,7 @@ next_building=$(
printf ') AND ('
mysql_query_is_part_of_loop '`build_assignments`.`id`'
printf ' OR NOT '
- mysql_query_has_pending_dependencies '`architectures`.`name`' '`build_assignments`.`id`'
+ mysql_query_has_pending_dependencies '`architectures`.`id`' '`build_assignments`.`id`'
printf ')'
printf ' AND `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_build_list}"
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 3874b3a..e7d5b14 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -839,7 +839,7 @@ mysql_cleanup() {
# TODO: we do not need to wait for makedepends, as long as _any_
# available package provides the makedepends
-# mysql_query_has_pending_dependencies builder-architecture `build_assignment`.`id`
+# mysql_query_has_pending_dependencies builder-architecture.id `build_assignment`.`id`
# print a mysql query giving whether dependencies are pending
mysql_query_has_pending_dependencies() {
printf 'EXISTS ('