Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-05 10:33:12 +0100
committerErich Eckner <git@eckner.net>2020-02-05 10:33:12 +0100
commita6e7e0c6e8a7b7632931dbe5dc64fbaf1c4958b6 (patch)
tree2c40386d517e2a0c01e963b07b0b66721df2c29c
parent10a66c2708605eb86241522afaf2feed3e2e4e33 (diff)
lib/mysql-functions: save more DELETE queries - the broken one seems to be not-yet-saved
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index daef65b..eb90e72 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -57,7 +57,7 @@ mysql_run_query() {
< "${query_stdin}" \
> "${query_stdout}" \
2>> "${query_stderr}"; then
- if grep -qF 'DELETE `binary_packages' "${query_stdin}"; then
+ if grep -qF 'DELETE' "${query_stdin}"; then
sed -n '
s/^.*INFILE "\(\S\+\)".*$/\1/
T