summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 9d9f7f7..f86f7fa 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1070,7 +1070,7 @@ mysql_query_has_pending_dependencies() {
printf ' AND `failed_builds`.`build_assignment`=`dep_ba`.`id`'
printf ')'
# haskell-* is a hopeless case in this regard
- printf ' OR `binary_packages`.`pkgname` LIKE "haskell-%%"'
+ printf ' OR `dep_bp`.`pkgname` LIKE "haskell-%%"'
printf ')'
printf ' JOIN `architecture_compatibilities`'
printf ' ON `architecture_compatibilities`.`built_for`=`dep_bp`.`architecture`'