projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4ad41
)
mysql plugin: Remove sideeffect-free function call.
author
Florian Forster
<octo@collectd.org>
Tue, 16 Aug 2011 06:51:21 +0000
(08:51 +0200)
committer
Florian Forster
<octo@collectd.org>
Tue, 16 Aug 2011 06:51:21 +0000
(08:51 +0200)
src/mysql.c
patch
|
blob
|
history
diff --git
a/src/mysql.c
b/src/mysql.c
index
bfdbb76
..
69df7c7
100644
(file)
--- a/
src/mysql.c
+++ b/
src/mysql.c
@@
-742,7
+742,6
@@
static int mysql_read (user_data_t *ud)
if (res == NULL)
return (-1);
- mysql_num_fields (res);
while ((row = mysql_fetch_row (res)))
{
char *key;