2
0
Эх сурвалжийг харах

- 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 жил өмнө
parent
commit
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