fixed in tree On Fri, Aug 15, 2008 at 10:37 AM, Ashutosh <ashutosh.kumars@gmail.com>wrote:
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 Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400