diff options
author | Erich Eckner <git@eckner.net> | 2018-05-31 10:43:48 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-31 10:43:48 +0200 |
commit | d83aecc92e8bbb847b49fc2be4ba4facd1f17795 (patch) | |
tree | 0e21bda3888a352221166fa182d30e60440e56e7 /lib | |
parent | a7a1b30eb62c82b95e5cacf938aedc091bd4c1c3 (diff) | |
download | builder-d83aecc92e8bbb847b49fc2be4ba4facd1f17795.tar.xz |
lib/mysql-functions: add table names to query
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index b637afc..0aad61a 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -684,7 +684,14 @@ mysql_sanity_check() { "${temp_dir}/master-mirror-listing" { - printf 'SELECT `r_a`.`name`,`repositories`.`name`,`pkgname`,`epoch`,`pkgver`,`pkgrel`,`sub_pkgrel`,`architectures`.`name`' + printf 'SELECT `r_a`.`name`,`repositories`.`name`,' + printf '`binary_packages`.`%s`,' \ + 'pkgname' \ + 'epoch' \ + 'pkgver' \ + 'pkgrel' \ + 'sub_pkgrel' + printf '`architectures`.`name`' printf ' FROM `binary_packages`' mysql_join_binary_packages_architectures mysql_join_binary_packages_binary_packages_in_repositories |