index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-11-21 11:07:17 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-21 11:07:17 +0100 |
commit | a4b3b3aac5411dc60f679c7d0fe2060bba2a2e5c (patch) | |
tree | 511a269b140158373fecf5758f7758916ac4256f | |
parent | 8f7460a7d704bc53f6d2128794508dc6f1e1f846 (diff) |
-rwxr-xr-x | bin/bootstrap-mysql | 5 |
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index 10b8cdb..30261c6 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -205,10 +205,12 @@ fi mysql_join_binary_packages_dependencies mysql_join_dependencies_dependency_types printf ' AND `dependency_types`.`relevant_for_binary_packages`' + mysql_join_dependencies_versions # ... by a not-deleted, "more stable" package already in place or ... printf ' WHERE NOT EXISTS (' printf 'SELECT 1' printf ' FROM `install_target_providers`' + mysql_join_install_target_providers_versions '' 'prov_v' mysql_join_install_target_providers_binary_packages '' 'prov_bp' mysql_join_binary_packages_binary_packages_in_repositories 'prov_bp' 'prov_bpir' mysql_join_binary_packages_in_repositories_repositories 'prov_bpir' 'prov_r' @@ -225,7 +227,8 @@ fi printf 'SELECT 1' printf ' FROM `replaced_bpir_copy`' printf ' WHERE `replaced_bpir_copy`.`id`=`prov_bpir`.`id`' - printf ')' + printf ') AND' + mysql_query_ordering_correct '`versions`.`order`' '`prov_v`.`order`' '`dependencies`.`version_relation`' # ... by a moved package printf ') AND NOT EXISTS (' printf 'SELECT 1' |