浏览代码

- add one debug probe for SQL NULL values, like for the other datatypes

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5518 689a6050-402a-0410-94f2-e92a70836424
Henning Westerholt 16 年之前
父节点
当前提交
86a18a6d68
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/srdb1/db_val.c

+ 1 - 0
lib/srdb1/db_val.c

@@ -53,6 +53,7 @@ int db_str2val(const db_type_t _t, db_val_t* _v, const char* _s, const int _l,
 	}
 	/* A NULL string is a SQL NULL value, otherwise its an empty value */
 	if (!_s) {
+		LM_DBG("converting NULL value");
 		memset(_v, 0, sizeof(db_val_t));
 			/* Initialize the string pointers to a dummy empty
 			 * string so that we do not crash when the NULL flag