From 77a984b37ebf4ac0f6727cd09bddd56da839b32a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 1 Sep 2018 13:15:56 +0200 Subject: lib/mysql-functions: clean up --- lib/mysql-functions | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/mysql-functions') diff --git a/lib/mysql-functions b/lib/mysql-functions index 24c5c3f..164fe9d 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -765,10 +765,7 @@ mysql_find_build_assignment_loops() { "${repository_ids__any_build_list}" printf ' AND `packages_in_repository_dependency`.`repository`=%s' \ "${repository_ids__any_build_list}" - printf ' AND (' - printf '`dependency_types`.`relevant_for_building`' - printf ' OR `dependency_types`.`relevant_for_building`' - printf ');\n' + printf ' AND `dependency_types`.`relevant_for_building`;\n' } | \ mysql_run_query | \ tr '\t' ' ' | \ -- cgit v1.2.3-70-g09d2