index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-01 10:37:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-01 10:37:18 +0200 |
commit | 2b8484c38234f717334f0697a936053d59bfa1b1 (patch) | |
tree | 6cd4e4ee34b3eca2cd9a9aceee7e1b89c913df09 | |
parent | b7e9c6ac4a637e551ae5869f4b0aed40cac7629a (diff) |
-rwxr-xr-x | lib/mysql-functions | 18 |
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 ')' } |