Module: sip-router
Branch: master
Commit: 242527fe5b94902ed4e20adad054c16f1732d9fd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=242527f…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Fri Dec 21 23:11:40 2012 +0100
db_text More instructive error message
---
modules_k/db_text/dbt_base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/db_text/dbt_base.c b/modules_k/db_text/dbt_base.c
index 6bd29cc..97e9879 100644
--- a/modules_k/db_text/dbt_base.c
+++ b/modules_k/db_text/dbt_base.c
@@ -207,7 +207,7 @@ int dbt_query(db1_con_t* _h, db_key_t* _k, db_op_t* _op, db_val_t*
_v,
if(!_tbc || _tbc->nrcols < _nc)
{
- LM_ERR("table not loaded!\n");
+ LM_ERR("table %s not loaded! (too few columns)\n", CON_TABLE(_h)->s);
goto error;
}
if(_k)