[sr-dev] git:master:21dc5288: sqlops: add debug output about sql connect_mode parameter
Henning Westerholt
hw at skalatan.de
Fri Apr 5 11:10:00 CEST 2019
Module: kamailio
Branch: master
Commit: 21dc5288533eb0860edc53b273f84cde76b82909
URL: https://github.com/kamailio/kamailio/commit/21dc5288533eb0860edc53b273f84cde76b82909
Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at 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/21dc5288533eb0860edc53b273f84cde76b82909.diff
Patch: https://github.com/kamailio/kamailio/commit/21dc5288533eb0860edc53b273f84cde76b82909.patch
---
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))
More information about the sr-dev
mailing list