diff options
author | Erich Eckner <git@eckner.net> | 2018-05-31 13:27:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-31 13:27:18 +0200 |
commit | 8dde526290718371b6da178c65955d431910fd97 (patch) | |
tree | b758ee02e490fa2c1348ff780699a50330bdae03 /lib | |
parent | 38839007b3cbcdc91bea10c7e1328a2f12a942af (diff) | |
download | builder-8dde526290718371b6da178c65955d431910fd97.tar.xz |
fill new columns in `binary_packages_in_repositories`, too
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index b00e17d..52f0ef2 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -477,8 +477,8 @@ mysql_generate_package_metadata() { printf ' `architectures`.`name` = from_base64("%s")' \ "${arch}" printf ';\n' - printf 'INSERT IGNORE INTO `binary_packages_in_repositories` (`package`,`repository`)' - printf ' SELECT LAST_INSERT_ID(),%s;\n' \ + printf 'INSERT IGNORE INTO `binary_packages_in_repositories` (`package`,`repository`,`is_to_be_deleted`)' + printf ' SELECT LAST_INSERT_ID(),%s,0;\n' \ "${current_repository_id}" printf 'COMMIT;\n' } | \ |