Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-31 13:27:18 +0200
committerErich Eckner <git@eckner.net>2018-05-31 13:27:18 +0200
commit8dde526290718371b6da178c65955d431910fd97 (patch)
treeb758ee02e490fa2c1348ff780699a50330bdae03 /lib
parent38839007b3cbcdc91bea10c7e1328a2f12a942af (diff)
fill new columns in `binary_packages_in_repositories`, too
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions4
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'
} | \