index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-30 14:02:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-30 14:02:28 +0200 |
commit | d5c7c741037cbfe13ae1f4fbfd6680c19eb2b6fd (patch) | |
tree | 0fe9480207ad450753defeb68e2dc6defc3450e6 /lib/mysql-functions | |
parent | 1721f3fea6211da107037eb6e05899f3453f187b (diff) |
-rwxr-xr-x | lib/mysql-functions | 5 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 8e295aa..1fafd52 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -456,7 +456,6 @@ mysql_generate_package_metadata() { printf 'INSERT IGNORE INTO `binary_packages` (' printf '`%s`,' \ 'build_assignment' \ - 'repository' \ 'architecture' \ 'epoch' \ 'pkgver' \ @@ -468,8 +467,7 @@ mysql_generate_package_metadata() { 'is_to_be_deleted' printf ') SELECT ' printf '%s,' \ - "${build_assignment_id}" \ - "${current_repository_id}" + "${build_assignment_id}" printf '`%s`.`id`,' \ 'architectures' printf 'from_base64("%s"),' \ @@ -483,7 +481,6 @@ mysql_generate_package_metadata() { printf ' `architectures`.`name` = from_base64("%s")' \ "${arch}" printf ';\n' - printf 'COMMIT;\n' printf 'INSERT IGNORE INTO `binary_packages_in_repositories` (`package`,`repository`)' printf ' SELECT LAST_INSERT_ID(),%s;\n' \ "${current_repository_id}" |