summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-15 13:33:29 +0100
committerErich Eckner <git@eckner.net>2019-01-15 13:33:29 +0100
commit4b649666620ec0be7316bdee1f129765074813ba (patch)
tree20551726917cdf921d814b8df4a620519ddc75b8 /bin/db-update
parent4d14794f16e00a4de42664ef4d717ec963748f7e (diff)
downloadbuilder-4b649666620ec0be7316bdee1f129765074813ba.tar.xz
bin/db-update: name tables
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update6
1 files 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