From 9d190005c83db5546916154cae792e6d52704a26 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Jun 2018 10:13:06 +0200 Subject: lib/mysql-functions: fix mysql query --- lib/mysql-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3-70-g09d2