[sr-dev] [kamailio] Fix dialog module still loading DB when db_fetch_rows == 0 (#295)

jaybinks notifications at github.com
Mon Aug 24 02:24:34 CEST 2015


as per http://kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#idp148408 a db_fetch_row of 0 should not load data from the DB At all.

I think doing this in mod_init makes the most sense, rather than further down in select_entire_dialog_table or similar.  The docs say setting to 0 will only restrict the initial load on startup, not any subsequent loads.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/295

-- Commit Summary --

  * Fix dialog module to not load DB when db_fetch_rows == 0

-- File Changes --

    M modules/dialog/dialog.c (10)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/295.patch
https://github.com/kamailio/kamailio/pull/295.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150823/f6d5d084/attachment.html>


More information about the sr-dev mailing list