[OpenSIPS-Users] avp_db_query empty string results in NULL [BUG?]

Podrigal, Aron aronp at guaranteedplus.com
Tue Oct 13 22:10:52 CEST 2015


Hi there,

I noticed some unexpected behavior with avp_db_query which is, if a varchar
column has a empty string the avp value will be NULL.

Has anyone experienced such behavior or a workaround.
I use db_mysql driver.


Regards

-- 
Aron Podrigal
-
'1000001', '1110010', '1101111', '1101110'   '1010000', '1101111',
'1100100', '1110010', '1101001', '1100111', '1100001', '1101100'

P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151013/3a50e2dd/attachment.htm>


More information about the Users mailing list