summarylogtreecommitdiffstats
path: root/0004-sqlspam.patch
diff options
context:
space:
mode:
authorkhvalera2023-02-09 23:58:03 +0200
committerkhvalera2023-02-09 23:58:03 +0200
commit4c00f6307130a4a9a8c043d81fd250245f8da20a (patch)
treef1564af24be33d030fff9cd29de0ce618cd972ad /0004-sqlspam.patch
parentd6eb8eec28d61e7ab7d66b47551d021255d1739c (diff)
downloadaur-4c00f6307130a4a9a8c043d81fd250245f8da20a.tar.gz
bareos-22.0.1-1
Diffstat (limited to '0004-sqlspam.patch')
-rw-r--r--0004-sqlspam.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0004-sqlspam.patch b/0004-sqlspam.patch
new file mode 100644
index 000000000000..1882f0c6b988
--- /dev/null
+++ b/0004-sqlspam.patch
@@ -0,0 +1,12 @@
+--- core/src/dird/ua_prune.cc.orig 2021-12-23 12:29:52.844307700 +0100
++++ core/src/dird/ua_prune.cc 2021-12-23 14:58:31.874042423 +0100
+@@ -585,7 +585,9 @@ bail_out:
+
+ static void DropTempTables(UaContext* ua)
+ {
++ ua->db->SqlQuery("SET client_min_messages = warning");
+ ua->db->SqlQuery(BareosDb::SQL_QUERY::drop_deltabs);
++ ua->db->SqlQuery("SET client_min_messages = notice");
+ }
+
+ static bool CreateTempTables(UaContext* ua)