diff options
author | Erich Eckner <git@eckner.net> | 2018-09-15 21:29:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-15 21:29:07 +0200 |
commit | 88ef27891c7279c7e7860f0e51556f98f000c081 (patch) | |
tree | c9fa59617d8f513f44a13796fc4f670b0913512c /bin/return-assignment | |
parent | cb7f9b87327c1f6cfa1e96bcfe08b6825bc48782 (diff) | |
download | builder-88ef27891c7279c7e7860f0e51556f98f000c081.tar.xz |
bin/return-assignment: fill all columns of `dependencies`
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 9 |
1 files 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}" |