Hi,
   i observed that mod_spidermonkey_odbc function numRows has been returning
me number of columns rather than rows. Looking deep revealed following:
file :
freeswitch-1.0.1/src/mod/languages/mod_spidermonkey_odbc/mod_spidermonkey_odbc.c
*
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.

Thanks,
ashutosh
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to