Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-13 09:54:41 +0100
committerErich Eckner <git@eckner.net>2020-01-13 09:54:41 +0100
commitc1128c9b7605a9f59739faab9e0d1a6a3800db61 (patch)
tree48ad4539bfaca55c5446ba0e1507fa5975d60882
parent1e23bed42c429aeffdb7765db2b0a85ad792b1b2 (diff)
lib/mysql-functions: extract "$upstream_repository_names", too
-rwxr-xr-xlib/mysql-functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 6938d6a..f84cb8b 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1445,6 +1445,12 @@ mysql_retrieve_static_information() {
mysql_join_repositories_architectures
printf ';\n'
printf 'SELECT CONCAT('
+ printf '"upstream_repository_names=\\"",'
+ printf 'REPLACE(GROUP_CONCAT(`upstream_repositories`.`name`),","," "),'
+ printf '"\\"")'
+ printf ' FROM `upstream_repositories`'
+ printf ' GROUP BY "1";\n'
+ printf 'SELECT CONCAT('
printf '"repo_names=\\"",'
printf 'REPLACE(GROUP_CONCAT(`git_repositories`.`name`),","," "),'
printf '"\\"")'