Hello,

sql_xquery() does not set $dbr(...), but $xavp(...). And I don't think it sets any xavp with the number of rows and number of columns. The readme should have some examples, IIRC (not being the developer of this function).

Cheers,
Daniel

On 11/26/12 9:16 PM, Brandon Armstead wrote:
Hello,

Almost forgot to add - this is on Kamailio 3.2 --- checking master branch to see if there is any changes, but it does look like in 3.2 res->nrows & res->ncols is not being set.


On Mon, Nov 26, 2012 at 11:50 AM, Brandon Armstead <[email protected] <mailto:[email protected]>> wrote:

    Hello,

       There appears to be an issue with the exported pseudo variable
    $dbr(key=>rows).  I am receiving rows back that are being
    populated into xavp via sql_xquery.  However the result of
    $dbr(key=>rows) is zero.

    Perhaps I am doing something wrong or sql_xquery does not populate
    the $dbr pseudo variable?

    Thanks in advance.

    Sincerely,
    Brandon Armstead




_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to