Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-12 14:05:09 +0200
committerErich Eckner <git@eckner.net>2019-09-12 14:05:09 +0200
commit2d583a8a688db7823cc2d9bb18ed97ea711f2057 (patch)
tree16a6e22c1461405bb8d7f60ab63346dac229a606 /misc
parentab868b5cd39b6d3e600ab7d626c4e42ae2361cf9 (diff)
`calculate_maximal_moveable_set` should deliberately break dependencies of to-be-deleted packages
Diffstat (limited to 'misc')
-rw-r--r--misc/database-layout.dump2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/database-layout.dump b/misc/database-layout.dump
index 4d81e5c..97407b2 100644
--- a/misc/database-layout.dump
+++ b/misc/database-layout.dump
@@ -190,7 +190,7 @@ DELETE `replaced_bpir`,`moveable_bpir`
JOIN `moveable_bpir`
ON `replaced_bpir`.`replaced_by`=`moveable_bpir`.`id`
JOIN `binary_packages_in_repositories` AS `repl_bpir`
- ON `repl_bpir`.`id`=`replaced_bpir`.`id`
+ ON `repl_bpir`.`id`=`replaced_bpir`.`id` AND NOT `repl_bpir`.`is_to_be_deleted`
JOIN `install_target_providers`
ON `repl_bpir`.`package`=`install_target_providers`.`package`
JOIN `repositories` AS `repl_r`