Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-update2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update
index df54bab..acf901a 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -412,6 +412,8 @@ mysql_query_update_replaced_bpir() {
printf ');\n'
printf 'INSERT IGNORE INTO `moveable_bpir` (`id`,`to_repository`)'
+# FIXME: `tm_bpir`.`id` is plain wrong, here. It should be the bpir.id of the package being moved,
+# not of the one being replaced. Uwaga: we need to fill tm_bpir.id into replaced_bpir, too!
printf ' SELECT `tm_bpir`.`id`,`tm_bpir`.`repository`'
printf ' FROM `replaced_bpir`'
printf ' JOIN `binary_packages_in_repositories`'