Module: kamailio Branch: master Commit: 2ead1d450e360a9af1eba2e02ad17dcd7c630bb1 URL: https://github.com/kamailio/kamailio/commit/2ead1d450e360a9af1eba2e02ad17dcd7c630bb1
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-07-10T18:20:27+02:00 mtree: proper number of columns for load from db-backends without fetch - GH #4815 --- Modified: src/modules/mtree/mtree_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/2ead1d450e360a9af1eba2e02ad17dcd7c630bb1.diff Patch: https://github.com/kamailio/kamailio/commit/2ead1d450e360a9af1eba2e02ad17dcd7c630bb1.patch --- diff --git a/src/modules/mtree/mtree_mod.c b/src/modules/mtree/mtree_mod.c index 593836ac9d3..2070437891a 100644 --- a/src/modules/mtree/mtree_mod.c +++ b/src/modules/mtree/mtree_mod.c @@ -612,7 +612,7 @@ static int mt_load_db(m_tree_t *pt) } } else { if((ret = mt_dbf.query(db_con, key_cols, op, vals, db_cols, pt->multi, - 2, 0, &db_res)) + c, 0, &db_res)) != 0 || RES_ROW_N(db_res) <= 0) { if(ret == 0) { _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
