From: Alan T. DeKok Date: Fri, 10 Aug 2012 10:34:51 +0000 (+0200) Subject: "Executing query" is not an error message X-Git-Tag: release_3_0_0_beta0~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a2b8089b942b910e2e38812d210d07d9c48f55a;p=thirdparty%2Ffreeradius-server.git "Executing query" is not an error message It's a debug message --- diff --git a/src/modules/rlm_sql/sql.c b/src/modules/rlm_sql/sql.c index b45aa9f0fbd..d6d46f3c2e7 100644 --- a/src/modules/rlm_sql/sql.c +++ b/src/modules/rlm_sql/sql.c @@ -296,9 +296,8 @@ int rlm_sql_query(SQLSOCK **sqlsocket, SQL_INST *inst, char *query) } while (1) { - radlog(L_ERR, "rlm_sql (%s): Executing query", - inst->config->xlat_name); - + DEBUG("Executing query %s", query); + ret = (inst->module->sql_query)(*sqlsocket, inst->config, query); /* * Run through all available sockets until we exhaust all existing @@ -347,9 +346,8 @@ int rlm_sql_select_query(SQLSOCK **sqlsocket, SQL_INST *inst, char *query) } while (1) { - radlog(L_ERR, "rlm_sql (%s): Executing query", - inst->config->xlat_name); - + DEBUG("Executing query %s", query); + ret = (inst->module->sql_select_query)(*sqlsocket, inst->config, query); /* * Run through all available sockets until we exhaust all existing