[sr-dev] git:master:8c592dc5: db_mysql: data converting log improvement - errors should be logged as such

Henning Westerholt hw at kamailio.org
Tue Mar 6 08:42:23 CET 2018


Module: kamailio
Branch: master
Commit: 8c592dc54e7e963cb608b2b71c1549d9c61bac7a
URL: https://github.com/kamailio/kamailio/commit/8c592dc54e7e963cb608b2b71c1549d9c61bac7a

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2018-03-06T08:41:01+01:00

db_mysql: data converting log improvement - errors should be logged as such

---

Modified: src/modules/db_mysql/km_val.c

---

Diff:  https://github.com/kamailio/kamailio/commit/8c592dc54e7e963cb608b2b71c1549d9c61bac7a.diff
Patch: https://github.com/kamailio/kamailio/commit/8c592dc54e7e963cb608b2b71c1549d9c61bac7a.patch

---

diff --git a/src/modules/db_mysql/km_val.c b/src/modules/db_mysql/km_val.c
index 7f832d0ad9..9ad0127082 100644
--- a/src/modules/db_mysql/km_val.c
+++ b/src/modules/db_mysql/km_val.c
@@ -123,7 +123,7 @@ int db_mysql_val2str(const db1_con_t* _c, const db_val_t* _v, char* _s, int* _le
 		break;
 
 	default:
-		LM_DBG("unknown data type\n");
+		LM_ERR("unknown data type\n");
 		return -10;
 	}
 }




More information about the sr-dev mailing list