[OpenSIPS-Devel] [opensips] sqlite avpdb queries are broken (#625)

Ionut Ionita notifications at github.com
Wed Sep 9 16:50:16 CEST 2015


https://github.com/OpenSIPS/opensips/commit/779996d9b37ad11f01420961ac708c6daa4d2828 the problem was that sqlite3_column_metadata was using the table name from the connection structure, but on raw queries no table name was set. So i parsed the query to search for the keyword 'FROM', case insesitive, then got the table name and set it for the connection.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/625#issuecomment-138935399
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150909/79147ca5/attachment.htm>


More information about the Devel mailing list