Przeglądaj źródła

db_text More instructive error message

Olle E. Johansson 12 lat temu
rodzic
commit
242527fe5b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      modules_k/db_text/dbt_base.c

+ 1 - 1
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)