Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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