From 2b8484c38234f717334f0697a936053d59bfa1b1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 1 Jun 2018 10:37:18 +0200 Subject: lib/mysql-functions: bugfix --- lib/mysql-functions | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/mysql-functions') diff --git a/lib/mysql-functions b/lib/mysql-functions index 4ea872f..8dc37b1 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -920,18 +920,18 @@ mysql_cleanup() { # print a mysql query giving wether dependencies are pending mysql_query_has_pending_dependencies() { printf 'EXISTS (' - printf 'SELECT 1 FROM `binary_packages_in_repositories` as `to_dos_bpir`' - mysql_join_binary_packages_in_repositories_binary_packages 'to_dos_bpir' 'to_dos' - mysql_join_binary_packages_dependencies 'to_dos' + printf 'SELECT 1 FROM `binary_packages_in_repositories` as `todos_bpir`' + mysql_join_binary_packages_in_repositories_binary_packages 'todos_bpir' 'todos' + mysql_join_binary_packages_dependencies 'todos' mysql_join_dependencies_install_target_providers - mysql_join_install_target_providers_binary_packages '' 'bin_deps' - mysql_join_binary_packages_binary_packages_in_repositories 'bin_deps' 'binir_deps' + mysql_join_install_target_providers_binary_packages '' 'deps' + mysql_join_binary_packages_binary_packages_in_repositories 'deps' 'deps_bpir' printf ' WHERE' printf ' `%s`.`repository`=%s AND' \ - 'dep_bpir' "${repository_ids__any_build_list}" \ - 'to_do_repos' "${repository_ids__any_build_list}" - printf ' `bin_deps`.`build_assignment`!=`to_dos`.`build_assignment` AND' - printf ' `to_dos`.`build_assignment`=%s' \ + 'deps_bpir' "${repository_ids__any_build_list}" \ + 'todos_bpir' "${repository_ids__any_build_list}" + printf ' `deps`.`build_assignment`!=`todos`.`build_assignment` AND' + printf ' `todos`.`build_assignment`=%s' \ "$1" printf ')' } -- cgit v1.2.3-70-g09d2