X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Foracle.c;h=ec45996bdebfdda8e8a27d54eb125b8544d0afc7;hb=26fbc23e518dcc74502ae3b2495112adc3840879;hp=1332da273a7db95427b0476131a0d37edbe23e0e;hpb=696d1c76aa4fbea29299c3c75a48b8d605b5cda8;p=collectd.git diff --git a/src/oracle.c b/src/oracle.c index 1332da27..ec45996b 100644 --- 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, - /* callback = */ NULL, /* legacy mode = */ 0); + /* callback = */ NULL); 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, - /* interval = */ -1); + /* interval = */ 0); if (status != 0) { ERROR ("oracle plugin: o_read_database_query (%s, %s): "