projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bbfb2b
)
Don't notify continuously when MySQL slave SQL thread is running
author
Joaquín Cuenca Abela
<e98cuenc@gmail.com>
Wed, 29 May 2013 14:22:09 +0000
(16:22 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 30 May 2013 06:10:04 +0000
(08:10 +0200)
Signed-off-by: Florian Forster <octo@collectd.org>
src/mysql.c
patch
|
blob
|
history
diff --git
a/src/mysql.c
b/src/mysql.c
index
8b3cd21
..
f93a442
100644
(file)
--- a/
src/mysql.c
+++ b/
src/mysql.c
@@
-689,7
+689,7
@@
static int mysql_read_slave_stats (mysql_database_t *db, MYSQL *con)
ssnprintf (n.message, sizeof (n.message),
"slave SQL thread started");
plugin_dispatch_notification (&n);
- db->slave_sql_running =
0
;
+ db->slave_sql_running =
1
;
}
}