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

(cherry picked from commit 18c64d2c9ff1527655055f75aa22e7d68c307874)

Conflicts:
        src/modules/db_text/db_text.c
        src/modules/db_text/dbt_api.c
        src/modules/db_text/dbt_base.c
        src/modules/db_text/dbt_lib.c
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * db_text: implement fetch and memory constraints

-- File Changes --

    M src/modules/db_text/db_text.c (9)
    M src/modules/db_text/db_text.h (4)
    M src/modules/db_text/dbt_api.c (107)
    M src/modules/db_text/dbt_api.h (6)
    M src/modules/db_text/dbt_base.c (185)
    M src/modules/db_text/dbt_lib.c (62)
    M src/modules/db_text/dbt_lib.h (6)
    M src/modules/db_text/dbt_res.c (202)
    M src/modules/db_text/dbt_res.h (14)
    M src/modules/db_text/dbt_tb.c (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/941.patch
https://github.com/kamailio/kamailio/pull/941.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/941
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to