[SR-Users] sql_xquery() and xavp checks
kelchy at gmail.com
Sun Apr 6 02:14:24 CEST 2014
dunno if this helps but i use $sqlrows(ca) to check whether there are rows
On Sat, Apr 5, 2014 at 9:15 AM, Alex Balashov <abalashov at evaristesys.com>wrote:
> On 04/05/2014 12:14 PM, Fred Posner wrote:
>> > I don't think so. As I understood the documentation, at least, $dbr
>> > doesn't get populated in this case; the rows just go straight to an
>> > xavp list. I suppose I should verify that.
>> Looks like you're right.
>> Tested various methods.
> This does make me wonder if there is a "leak" of result handles here,
> since sql_result_free() is not possible, but presumably there's an internal
> result handle still getting allocated. Or maybe that was for the memory
> allocated to the $dbr(...) data only and independent of the underlying DB
> Alex Balashov - Principal
> Evariste Systems LLC
> 235 E Ponce de Leon Ave
> Suite 106
> Decatur, GA 30030
> United States
> Tel: +1-678-954-0670
> Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users