index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-03 16:02:23 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-03 16:02:23 +0200 |
commit | 5d40a41998efed19853372d2b2b9e68f202ecc31 (patch) | |
tree | fd40438ed82aa4015d7b34ef98af949ca14301db | |
parent | e34595ccd15eaf0f9722efde27c6aa9c8722e773 (diff) |
-rwxr-xr-x | lib/mysql-functions | 7 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index aa6a5ee..2bc2fbe 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -9,9 +9,6 @@ if [ -z "${base_dir}" ]; then . '../lib/load-configuration' fi -# TODO: replace most/all insert-select queries by separate select and insert -# queries - # base64_encode_each encode each line of stdin with base64 base64_encode_each() { @@ -435,8 +432,8 @@ mysql_generate_package_metadata() { printf ' WHERE `links`.`type`="arch";\n' printf 'INSERT IGNORE INTO `binary_packages_in_repositories` (' - printf ' `package`' - printf ' `repository`' + printf ' `package`,' + printf '`repository`' printf ') SELECT' printf ' `binary_packages`.`id`,' printf '%s' \ |