[sr-dev] [kamailio/kamailio] db_text: implement fetch and memory constraints (#940)

lazedo notifications at github.com
Wed Jan 18 11:13:14 CET 2017


when dealing with large db_text files, pkg_memory is not suitable for
operating the database.

implementing fetch allows modules like presence & registrar & usrloc
to query large tables without constraints on pkg_memory.

creates tmp tables in shared memory for query results
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * db_text: implement fetch and memory constraints

-- File Changes --

    M modules/db_text/dbt_api.c (109)
    M modules/db_text/dbt_api.h (6)
    M modules/db_text/dbt_base.c (186)
    M modules/db_text/dbt_lib.c (62)
    M modules/db_text/dbt_lib.h (6)
    M modules/db_text/dbt_res.c (202)
    M modules/db_text/dbt_res.h (14)
    M modules/db_text/dbt_tb.c (4)
    M modules/db_text/dbtext.c (8)
    M modules/db_text/dbtext.h (4)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/940
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170118/ecd9e093/attachment-0001.html>


More information about the sr-dev mailing list