From 73bbe08b85d48268b9b6470e0f6276606887311e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 15:38:26 +0200 Subject: bin/db-update: fix mysql query --- bin/db-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/db-update b/bin/db-update index 0f15052..d78c290 100755 --- a/bin/db-update +++ b/bin/db-update @@ -385,7 +385,7 @@ for source_stability in 'testing' 'staging'; do "${tmp_dir}/mv.id" 'moved_bpir' \ "${tmp_dir}/rm.id" 'replaced_bpir' printf 'DELETE `binary_packages_in_repositories` FROM `binary_packages_in_repositories`' - printf ' JOIN `replaced_bpir` ON `binary_packages_in_repositories`.`id`=`replaced_binary_packages`.`id`;\n' + printf ' JOIN `replaced_bpir` ON `binary_packages_in_repositories`.`id`=`replaced_bpir`.`id`;\n' mysql_query_and_delete_unneeded_binary_packages printf 'UPDATE `binary_packages_in_repositories`' printf ' JOIN `moved_bpir` ON `binary_packages_in_repositories`.`id`=`moved_bpir`.`id`' -- cgit v1.2.3-70-g09d2