projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
postgresql plugin: Don't abort read(), if a query's version doesn't match.
[collectd.git]
/
src
/
postgresql.c
diff --git
a/src/postgresql.c
b/src/postgresql.c
index
0141b23
..
9e91659
100644
(file)
--- a/
src/postgresql.c
+++ b/
src/postgresql.c
@@
-472,8
+472,8
@@
static int c_psql_read (user_data_t *ud)
q = db->queries[i];
if ((0 != db->server_version)
- && (udb_query_check_version (q, db->server_version) <= 0))
-
return -1
;
+
&& (udb_query_check_version (q, db->server_version) <= 0))
+
continue
;
c_psql_exec_query (db, q);
}