From 6a8f4ca8e0550616751ca4fa636f1c8ca353be40 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 12 Apr 2020 13:16:56 +0200 Subject: fixup bugs introduced in 5635bd3 --- lib/common-functions | 2 +- lib/mysql-functions | 2 +- 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 -- cgit v1.2.3-70-g09d2