summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-12 13:16:56 +0200
committerErich Eckner <git@eckner.net>2020-04-12 13:16:56 +0200
commit6a8f4ca8e0550616751ca4fa636f1c8ca353be40 (patch)
tree1132f0a42b0111c8e542ca0d5f85fa0325c444aa /lib
parent5ea137bba6c0e8c5e5e702493ee777322932f7f8 (diff)
downloadbuilder-6a8f4ca8e0550616751ca4fa636f1c8ca353be40.tar.xz
fixup bugs introduced in 5635bd3
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions2
-rwxr-xr-xlib/mysql-functions2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 7cbf891..02b8704 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -984,9 +984,9 @@ update_blocked_packages_count() {
"${repository_ids__any_build_list}"
mysql_join_binary_packages_dependencies 'a_bp'
mysql_join_dependencies_dependency_types
+ printf ' AND `dependency_types`.`relevant_for_binary_packages`'
mysql_join_dependencies_install_target_providers_with_versions
mysql_join_install_target_providers_binary_packages '' 'b_bp'
- printf '`dependency_types`.`relevant_for_binary_packages`'
mysql_join_binary_packages_binary_packages_in_repositories 'b_bp' 'b_bpir'
printf ' AND `a_bpir`.`repository`=%s' \
"${repository_ids__any_build_list}"
diff --git a/lib/mysql-functions b/lib/mysql-functions
index e0110c9..d5d3495 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1221,7 +1221,7 @@ mysql_query_generate_packages_with_pending_dependencies() {
printf 'NOT `install_target_statuses`.`exists_built`'
printf 'OR ('
printf '`install_target_statuses`.`exists_unbuilt`'
- printf '`dependency_types`.`relevant_for_binary_packages`'
+ printf ' AND `dependency_types`.`relevant_for_binary_packages`'
printf ')'
printf ')'
mysql_join_dependencies_binary_packages