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

Bogdan Andrei IANCU notifications at github.com
Thu Aug 27 16:56:19 CEST 2015


@qmphan , you are right!  The only issue I see with that approach is that we will break many other modules. Most of them do expect to get a DB_STRING after a DB query - and they actually check the DB type. If we change to DB_STR, all these modules will get broken.
What can be done is to : 
1) revert the so far changes in dialog module
2) make db_postgres to populate the .len even if the DB_STRING (in db_postgres_str2val).

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


More information about the Devel mailing list