projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-4.10' into collectd-5.0
[collectd.git]
/
src
/
oracle.c
diff --git
a/src/oracle.c
b/src/oracle.c
index
1332da2
..
ec45996
100644
(file)
--- a/
src/oracle.c
+++ b/
src/oracle.c
@@
-344,7
+344,7
@@
static int o_config (oconfig_item_t *ci) /* {{{ */
oconfig_item_t *child = ci->children + i;
if (strcasecmp ("Query", child->key) == 0)
udb_query_create (&queries, &queries_num, child,
oconfig_item_t *child = ci->children + i;
if (strcasecmp ("Query", child->key) == 0)
udb_query_create (&queries, &queries_num, child,
- /* callback = */ NULL
, /* legacy mode = */ 0
);
+ /* callback = */ NULL);
else if (strcasecmp ("Database", child->key) == 0)
o_config_add_database (child);
else
else if (strcasecmp ("Database", child->key) == 0)
o_config_add_database (child);
else
@@
-603,7
+603,7
@@
static int o_read_database_query (o_database_t *db, /* {{{ */
status = udb_query_prepare_result (q, prep_area, hostname_g,
/* plugin = */ "oracle", db->name, column_names, column_num,
status = udb_query_prepare_result (q, prep_area, hostname_g,
/* plugin = */ "oracle", db->name, column_names, column_num,
- /* interval = */
-1
);
+ /* interval = */
0
);
if (status != 0)
{
ERROR ("oracle plugin: o_read_database_query (%s, %s): "
if (status != 0)
{
ERROR ("oracle plugin: o_read_database_query (%s, %s): "