[Freeswitch-users] Bug in spidermonkey-odbc-numRows

Ashutosh ashutosh.kumars at gmail.com
Fri Aug 15 08:37:01 PDT 2008

   i observed that mod_spidermonkey_odbc function numRows has been returning
me number of columns rather than rows. Looking deep revealed following:
file :
static JSBool odbc_num_rows(JSContext * cx, JSObject * obj, uintN argc,
jsval * argv, jsval * rval)
        if (odbc_obj->stmt) {
               SQLNumResultCols(odbc_obj->stmt, &rows);                }

I suppose the fn call in bold above might be problematic. Has anyone else
countered it before ?I will try to resolve and put the patch if resolved.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080815/c1817660/attachment-0002.html 

More information about the FreeSWITCH-users mailing list