From 5d40a41998efed19853372d2b2b9e68f202ecc31 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 3 Sep 2018 16:02:23 +0200 Subject: lib/mysql-functions: remove obsolete todo, fix typo --- lib/mysql-functions | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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' \ -- cgit v1.2.3-70-g09d2