Module: kamailio
Branch: master
Commit: 21dc5288533eb0860edc53b273f84cde76b82909
URL:
https://github.com/kamailio/kamailio/commit/21dc5288533eb0860edc53b273f84cd…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-04-05T10:51:26+02:00
sqlops: add debug output about sql connect_mode parameter
---
Modified: src/modules/sqlops/sql_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/21dc5288533eb0860edc53b273f84cd…
Patch:
https://github.com/kamailio/kamailio/commit/21dc5288533eb0860edc53b273f84cd…
---
diff --git a/src/modules/sqlops/sql_api.c b/src/modules/sqlops/sql_api.c
index bb75bebc35..87c4f2f229 100644
--- a/src/modules/sqlops/sql_api.c
+++ b/src/modules/sqlops/sql_api.c
@@ -143,6 +143,7 @@ int sql_connect(int mode)
{
sql_con_t *sc;
sc = _sql_con_root;
+ LM_DBG("trying to connect to database with mode %d\n", mode);
while(sc)
{
if (db_bind_mod(&sc->db_url, &sc->dbf))