X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Foracle.c;h=80ae699c169b5cc1aa268a931e76515b3db83b89;hb=b4c8f3f762d666742c774ab3b45815e5a416e5da;hp=828fc2e504de1b5dbfe47aa68d74de7f24a215d9;hpb=77f03c91b3074b5abd3e602002b7fc7ce28ea612;p=collectd.git diff --git a/src/oracle.c b/src/oracle.c index 828fc2e5..80ae699c 100644 --- a/src/oracle.c +++ b/src/oracle.c @@ -352,7 +352,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, - /* callback = */ NULL, /* legacy mode = */ 0); + /* callback = */ NULL); else if (strcasecmp ("Database", child->key) == 0) o_config_add_database (child); else @@ -615,7 +615,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, - /* interval = */ -1); + /* interval = */ 0); if (status != 0) { ERROR ("oracle plugin: o_read_database_query (%s, %s): "