diff options
Diffstat (limited to 'community/gvmd/fix-alpine-sql-syntax.patch')
-rw-r--r-- | community/gvmd/fix-alpine-sql-syntax.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/gvmd/fix-alpine-sql-syntax.patch b/community/gvmd/fix-alpine-sql-syntax.patch new file mode 100644 index 0000000000..1c37da0fc4 --- /dev/null +++ b/community/gvmd/fix-alpine-sql-syntax.patch @@ -0,0 +1,23 @@ +From a1633b5a54456b2b152abef24db19ae3587c8dae Mon Sep 17 00:00:00 2001 +From: 7ym0n <bb.qnyd@gmail.com> +Date: Fri, 27 Sep 2019 04:31:27 -0400 +Subject: [PATCH 1/2] fixed start task failed + +--- + src/manage_sql.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/manage_sql.c b/src/manage_sql.c +index 1fc9582bb..c03e800b4 100644 +--- a/src/manage_sql.c ++++ b/src/manage_sql.c +@@ -38041,7 +38041,7 @@ init_otp_pref_iterator (iterator_t* iterator, + " WHERE config_preferences.config = %llu" + " AND config_preferences.type = '%s'" + " AND (config_preferences.name = nvt_preferences.name" +- " OR config_preferences.name LIKE 'timeout.%')" ++ " OR config_preferences.name LIKE 'timeout.%%')" + " AND config_preferences.name != 'max_checks'" + " AND config_preferences.name != 'max_hosts'" + " UNION" + |