Module: sip-router
Branch: master
Commit: 745e44e7555d0df789ecfae3b460650a43ecbf8c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=745e44e…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Mon Dec 17 12:04:49 2012 -0500
module_k/db_text: making some error probes visible
---
modules_k/db_text/dbt_tb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/db_text/dbt_tb.c b/modules_k/db_text/dbt_tb.c
index 2977316..637519b 100644
--- a/modules_k/db_text/dbt_tb.c
+++ b/modules_k/db_text/dbt_tb.c
@@ -452,7 +452,7 @@ int dbt_table_check_row(dbt_table_p _dtp, dbt_row_p _drp)
if(!_drp->fields[i].nul
&& dbt_is_neq_type(_dtp->colv[i]->type, _drp->fields[i].type))
{
- LM_DBG("incompatible types - field %d [%d/%d]\n",i,
+ LM_ERR("incompatible types - field %d [%d/%d]\n",i,
_dtp->colv[i]->type, _drp->fields[i].type);
return -1;
}
@@ -471,7 +471,7 @@ int dbt_table_check_row(dbt_table_p _dtp, dbt_row_p _drp)
continue;
}
- LM_DBG("null value not allowed - field %d\n",i);
+ LM_ERR("null value not allowed - field %d\n",i);
return -1;
}