summaryrefslogtreecommitdiff
path: root/bin/mysql-functions
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mysql-functions')
-rwxr-xr-xbin/mysql-functions4
1 files 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`'