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 11:26:13 +0200
committerErich Eckner <git@eckner.net>2018-09-13 11:26:13 +0200
commit9a7b1230c5ab1e50199b6e9d2e0044e6e38fe0e4 (patch)
tree2e5e54f2f61c1787f24c1e0e96ba633d7805d79b
parent595f0727b69fa7e7a06f34cc9d638f1953b1386e (diff)
bin/get-assignment: add missing join
-rwxr-xr-xbin/get-assignment3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 89ff155..df80e8b 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -205,6 +205,9 @@ next_building=$(
# toolchain package is on that list
printf 'DELETE `considered_build_assignments`'
printf ' FROM `considered_build_assignments`'
+ printf ' JOIN `build_assignments`'
+ printf ' ON `build_assignments`.`id`=`considered_build_assignments`.`id`'
+ mysql_join_build_assignments_package_sources
printf ' WHERE NOT EXISTS ('
printf 'SELECT 1 FROM `toolchain_order`'
printf ' WHERE `toolchain_order`.`pkgbase`=`package_sources`.`pkgbase`'