Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 13:55:26 +0200
committerErich Eckner <git@eckner.net>2018-05-30 13:55:26 +0200
commit8cac4808a87e1d85e9d6d39d9f5fbac8134b9b42 (patch)
treea1f2d70f0a829555ee445737aa14f4eaead2955d /bin/db-update
parentbec12d71041dcfe0822bda36c740ee5f8a6260a3 (diff)
bin/db-update: do not write `binary_packages`.`repository`
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index 327e29f..9dc13b4 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -413,8 +413,7 @@ for source_stability in 'testing' 'staging'; do
printf 'UPDATE `binary_packages`'
printf ' JOIN `moved_binary_packages` ON `binary_packages`.`id`=`moved_binary_packages`.`id`'
mysql_join_binary_packages_binary_packages_in_repositories
- printf ' SET `binary_packages`.`repository`=`moved_binary_packages`.`new_repository`,'
- printf '`binary_packages_in_repositories`.`repository`=`moved_binary_packages`.`new_repository`,'
+ printf ' SET `binary_packages_in_repositories`.`repository`=`moved_binary_packages`.`new_repository`,'
printf '`binary_packages`.`last_moved`=NOW()'
printf ' WHERE `binary_packages_in_repositories`.`repository`!=`moved_binary_packages`.`new_repository`;\n'
} | \