summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index e5ea193..b830981 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -325,8 +325,8 @@ move_packages() {
while read -r package; do
while read -r part; do
printf 'UPDATE `binary_packages`'
- printf ' JOIN `repositories` AS `from_repo` ON `binary_packages`.`repository`=`from_repo`.`id`'
- printf ' JOIN `architectures` ON `binary_packages`.`architecture`=`architectures`.`id`'
+ mysql_join_binary_packages_repositories '' 'from_repo'
+ mysql_join_binary_packages_architectures
printf ' SET `binary_packages`.`repository`=('
printf 'SELECT `to_repo`.`id`'
printf ' FROM `repositories` as `to_repo`'