From 7f56d9523dd2c77c7de3d8213f7d55a92ca7a901 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 12 Sep 2018 16:14:29 +0200 Subject: lib/mysql-functions: mysql_cleanup(): fix typo --- lib/mysql-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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`' -- cgit v1.2.3-70-g09d2