diff options
author | Erich Eckner <git@eckner.net> | 2018-06-04 15:38:26 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-04 15:38:26 +0200 |
commit | 73bbe08b85d48268b9b6470e0f6276606887311e (patch) | |
tree | 60990f1f040b0715b94e2dd1080d05ab6b3dc0f3 /bin | |
parent | 06f4bfcd17fa2a5df933e30c1a54b854b743a1b6 (diff) | |
download | builder-73bbe08b85d48268b9b6470e0f6276606887311e.tar.xz |
bin/db-update: fix mysql query
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/db-update | 2 |
1 files changed, 1 insertions, 1 deletions
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`' |