From 11a53a1b63ec7b72e20c1e53ddfb613a712336c9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 9 Feb 2018 14:21:28 +0100 Subject: bin/mysql-functions: fix typos in mysql_cleanup --- bin/mysql-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mysql-functions b/bin/mysql-functions index 19fb773..f5a0f4b 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -741,7 +741,7 @@ mysql_cleanup() { printf '(' printf 'SELECT * FROM `binary_packages` ' printf 'WHERE `dependencies`.`dependent`=`binary_packages`.`id`' - printf ') ORNOT EXISTS ' + printf ') OR NOT EXISTS ' printf '(' printf 'SELECT * FROM `install_targets` ' printf 'WHERE `dependencies`.`depending_on`=`install_targets`.`id`' @@ -752,7 +752,7 @@ mysql_cleanup() { printf '(' printf 'SELECT * FROM `binary_packages` ' printf 'WHERE `install_target_providers`.`package`=`binary_packages`.`id`' - printf ') ORNOT EXISTS ' + printf ') OR NOT EXISTS ' printf '(' printf 'SELECT * FROM `install_targets` ' printf 'WHERE `install_target_providers`.`install_target`=`install_targets`.`id`' -- cgit v1.2.3-70-g09d2