Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index b44a229..ae3612b 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -843,7 +843,6 @@ mysql_find_build_assignment_loops() {
printf ' AND `dependency_types`.`relevant_for_building`'
printf ' AND ('
printf '`dependency_types`.`relevant_for_binary_packages`'
- printf ' OR `nt_bp`.`pkgname` LIKE "haskell-%%"'
printf ' OR NOT EXISTS ('
printf 'SELECT 1'
printf ' FROM `binary_packages_in_repositories` AS `subst_bpir`'
@@ -1061,13 +1060,7 @@ mysql_query_has_pending_dependencies() {
"$2"
printf ' AND IF('
# ... and if (a) relevant for binary_packages ...
- printf '`l_dep_ts`.`relevant_for_binary_packages`'
- # (which includes makedependencies which are haskell packages ...
- printf ' OR ('
- printf '`install_targets`.`name` LIKE "haskell-%%"'
- # ... but only if the package itself is not "ghc"!)
- printf ' AND `todos`.`pkgname` NOT IN ("ghc","ghc-libs","ghc-static")'
- printf '),'
+ printf '`l_dep_ts`.`relevant_for_binary_packages`,'
# ... has some unbuilt provider ...
printf 'EXISTS ('
printf 'SELECT 1'
@@ -1228,10 +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 ' AND ('
- printf '`dependency_types`.`relevant_for_binary_packages`'
- printf ' OR `install_targets`.`name` LIKE "haskell-%%"'
- printf ')'
+ printf '`dependency_types`.`relevant_for_binary_packages`'
printf ')'
printf ')'
mysql_join_dependencies_binary_packages