[sr-dev] git:master: db_text Add debug output for NULL value.
Olle E. Johansson
oej at edvina.net
Mon Dec 8 13:11:50 CET 2014
Module: sip-router
Branch: master
Commit: c7b7aadac363bc10bb3c09935dc2132d6b59b90e
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c7b7aadac363bc10bb3c09935dc2132d6b59b90e
Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: Mon Dec 8 13:11:02 2014 +0100
db_text Add debug output for NULL value.
---
modules/db_text/dbt_file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_text/dbt_file.c b/modules/db_text/dbt_file.c
index 62fa82f..577b616 100644
--- a/modules/db_text/dbt_file.c
+++ b/modules/db_text/dbt_file.c
@@ -232,7 +232,7 @@ dbt_table_p dbt_load_file(const str *tbn, const str *dbn)
c = fgetc(fin);
if(c=='N' || c=='n')
{
- //LM_DBG("NULL flag set!\n");
+ LM_DBG("column[%d] NULL flag set!\n", ccol+1);
colp->flag |= DBT_FLAG_NULL;
}
else if(colp->type==DB1_INT && dtp->auto_col<0
More information about the sr-dev
mailing list