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 0fbd84e..9d9f7f7 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`.`name` LIKE "haskell-%%"'
+ printf ' OR `binary_packages`.`pkgname` LIKE "haskell-%%"'
printf ')'
printf ' JOIN `architecture_compatibilities`'
printf ' ON `architecture_compatibilities`.`built_for`=`dep_bp`.`architecture`'