diff options
author | Erich Eckner <git@eckner.net> | 2018-06-07 10:13:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-07 10:13:06 +0200 |
commit | 9d190005c83db5546916154cae792e6d52704a26 (patch) | |
tree | 56d6a1430960f99248b1621f0705d9892b996022 /lib | |
parent | 8642b91eacc99b4ee7894d5dcf7203290bc56dea (diff) | |
download | builder-9d190005c83db5546916154cae792e6d52704a26.tar.xz |
lib/mysql-functions: fix mysql query
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/mysql-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index ea3cdfb..532c283 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -628,7 +628,7 @@ mysql_sanity_check() { printf ' FROM `binary_packages` AS `a`' mysql_join_binary_packages_binary_packages_in_repositories 'a' 'a_bir' mysql_join_binary_packages_in_repositories_repositories 'a_bir' 'a_r' - printf ' JOIN `repositories` AS `a_r`' + printf ' JOIN `repositories` AS `b_r`' printf ' ON `a_r`.`stability`=`b_r`.`stability`' printf ' AND `a_r`.`architecture`=`b_r`.`architecture`' mysql_join_repositories_binary_packages_in_repositories 'b_r' 'b_bir' |