From a6e7e0c6e8a7b7632931dbe5dc64fbaf1c4958b6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 5 Feb 2020 10:33:12 +0100 Subject: lib/mysql-functions: save more DELETE queries - the broken one seems to be not-yet-saved --- lib/mysql-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mysql-functions') 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 -- cgit v1.2.3-70-g09d2