<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
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).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 11/26/12 9:16 PM, Brandon Armstead
wrote:<br>
</div>
<blockquote
cite="mid:CACr1DbCqgYmzChN_p=7dSruPa14-=8RJ=rn3_zjF9vA1CycPVg@mail.gmail.com"
type="cite">Hello,
<div><br>
</div>
<div> 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.</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On Mon, Nov 26, 2012 at 11:50 AM,
Brandon Armstead <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:brandon@cryy.com"
target="_blank">brandon@cryy.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,
<div><br>
</div>
<div> 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.</div>
<div><br>
</div>
<div>Perhaps I am doing something wrong or sql_xquery does
not populate the $dbr pseudo variable?</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div>Brandon Armstead</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>