Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-07 10:13:06 +0200
committerErich Eckner <git@eckner.net>2018-06-07 10:13:06 +0200
commit9d190005c83db5546916154cae792e6d52704a26 (patch)
tree56d6a1430960f99248b1621f0705d9892b996022
parent8642b91eacc99b4ee7894d5dcf7203290bc56dea (diff)
lib/mysql-functions: fix mysql query
-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'