[OpenSIPS-Devel] [opensips] NULL support in cachedb raw interface (#525)

jayesh1017 notifications at github.com
Thu May 28 15:54:33 CEST 2015


The cachedb raw queries currently ignores the NULL values that gets returned from a NoSQL Database. For eg. if you do the following:
cache_raw_query("redis:myRedis", "HMGET MYKEY one two three", "$avp(result)");
And if the the key "two" doesn't exist in redis, the avp array element 1 does not return with a NULL value, instead the value at element 2 is substituted at element 1 and if we do value matching in the script it has possibilities of error.
It'll be great, if NULL returns back so that value matching of array elements in $avp(result) is done properly.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150528/c7c982f5/attachment.htm>


More information about the Devel mailing list