From 4b649666620ec0be7316bdee1f129765074813ba Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 15 Jan 2019 13:33:29 +0100 Subject: bin/db-update: name tables --- bin/db-update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/db-update b/bin/db-update index 468ac34..c3e0c85 100755 --- a/bin/db-update +++ b/bin/db-update @@ -253,8 +253,8 @@ for source_stability in \ mysql_join_dependencies_versions '' 'd_v' printf ' WHERE NOT EXISTS (' printf 'SELECT 1 FROM `install_target_providers`' - mysql_join_install_target_providers_binary_packages_in_repositories - mysql_join_binary_packages_in_repositories_repositories + mysql_join_install_target_providers_binary_packages_in_repositories '' 'itp_bpir' + mysql_join_binary_packages_in_repositories_repositories 'itp_bpir' 'itp_r' mysql_join_install_target_providers_versions '' 'itp_v' printf ' WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`' printf ' AND' @@ -262,7 +262,7 @@ for source_stability in \ '`d_v`.`order`' \ '`itp_v`.`order`' \ '`dependencies`.`version_relation`' - printf ' AND `repositories`.`architecture`=`old_r`.`architecture`' + printf ' AND `itp_r`.`architecture`=`old_r`.`architecture`' # TODO: also, we might want to consider the stability of the repo # For this, we would need to determine the least stable package # which is not less stable than the target repo -- cgit v1.2.3-70-g09d2