]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/collectd/0002-Don-t-notify-continuously-when-MySQL-slave-SQL-threa.patch
pakfire: use correct tree on x86_64.
[ipfire-2.x.git] / src / patches / collectd / 0002-Don-t-notify-continuously-when-MySQL-slave-SQL-threa.patch
CommitLineData
2056dd30
AM
1From f2391b9da6127e4acd5b54b7ae6c2d585df0e2a0 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Joaqu=C3=ADn=20Cuenca=20Abela?= <e98cuenc@gmail.com>
3Date: Wed, 29 May 2013 16:22:09 +0200
4Subject: [PATCH 02/22] Don't notify continuously when MySQL slave SQL thread
5 is running
6
7Signed-off-by: Florian Forster <octo@collectd.org>
8---
9 src/mysql.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/mysql.c b/src/mysql.c
13index 8b3cd21..f93a442 100644
14--- a/src/mysql.c
15+++ b/src/mysql.c
16@@ -689,7 +689,7 @@ static int mysql_read_slave_stats (mysql_database_t *db, MYSQL *con)
17 ssnprintf (n.message, sizeof (n.message),
18 "slave SQL thread started");
19 plugin_dispatch_notification (&n);
20- db->slave_sql_running = 0;
21+ db->slave_sql_running = 1;
22 }
23 }
24
25--
261.9.3
27