summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions2
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'