From 88ef27891c7279c7e7860f0e51556f98f000c081 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 15 Sep 2018 21:29:07 +0200 Subject: bin/return-assignment: fill all columns of `dependencies` --- bin/return-assignment | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/return-assignment b/bin/return-assignment index aacf928..23486e2 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -825,8 +825,13 @@ trigger_mirror_refreshs printf ' FROM `binary_packages` AS `built_bp`' printf '%s;\n' "${join_part}" printf 'INSERT IGNORE INTO `dependencies`' - printf ' (`dependent`,`depending_on`,`dependency_type`)' - printf ' SELECT `new_bp`.`id`,`dependencies`.`depending_on`,`dependencies`.`dependency_type`' + printf ' (`dependent`,`depending_on`,`dependency_type`,`version`,`version_relation`)' + printf ' SELECT `new_bp`.`id`' + printf ',`dependencies`.`%s`' \ + 'depending_on' \ + 'dependency_type' \ + 'version' \ + 'version_relation' printf ' FROM `dependencies`' mysql_join_dependencies_binary_packages '' 'built_bp' printf '%s;\n' "${join_part}" -- cgit v1.2.3-70-g09d2