Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-09 14:21:28 +0100
committerErich Eckner <git@eckner.net>2018-02-09 14:21:28 +0100
commit11a53a1b63ec7b72e20c1e53ddfb613a712336c9 (patch)
tree8ddf9fbeb6fa6b41d94a2e438c5428bb8ab8c4af /bin
parent98e89a079be0423449481606c4fc63bb9f9087c7 (diff)
bin/mysql-functions: fix typos in mysql_cleanup
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`'