1 From f2391b9da6127e4acd5b54b7ae6c2d585df0e2a0 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Joaqu=C3=ADn=20Cuenca=20Abela?= <e98cuenc@gmail.com>
3 Date: Wed, 29 May 2013 16:22:09 +0200
4 Subject: [PATCH 02/22] Don't notify continuously when MySQL slave SQL thread
7 Signed-off-by: Florian Forster <octo@collectd.org>
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/src/mysql.c b/src/mysql.c
13 index 8b3cd21..f93a442 100644
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;