Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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 bbf8816..e3fb66f 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -760,7 +760,7 @@ mysql_cleanup() {
printf '`binary_packages` '
fi
printf 'FROM `binary_packages`'
- printf ' WHERE `binary_packages`.`sha512sum IS NULL'
+ printf ' WHERE `binary_packages`.`sha512sum` IS NULL'
printf ' AND NOT EXISTS ('
printf 'SELECT 1 FROM `binary_packages_in_repositories` '
printf 'WHERE `binary_packages_in_repositories`.`package`=`binary_packages`.`id`'