[OpenSIPS-Devel] [opensips] other fixes on db value interpretation in dialog module (#619)

Minh PHAN notifications at github.com
Thu Aug 27 12:50:43 CEST 2015


When values are read from DB, they are converted to C structures by going through these functions:
db_postgres_fetch_result  --> db_postgres_convert_rows  --> db_postgres_convert_rows  --> db_postgres_str2val
Inside the last function (db_postgres_str2val), if the DB type is DB_STR, the len field will be filled.

The PR #618 set the DB type to DB_STR so that db_postgres_str2val will fill the .len



---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/619#issuecomment-135379027
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150827/bae633aa/attachment.htm>


More information about the Devel mailing list