Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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`'