[Freeswitch-users] Bug in spidermonkey-odbc-numRows
Anthony Minessale
anthony.minessale at gmail.com
Sat Aug 16 08:55:06 PDT 2008
fixed in tree
On Fri, Aug 15, 2008 at 10:37 AM, Ashutosh <ashutosh.kumars at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080816/beb51542/attachment-0002.html
More information about the FreeSWITCH-users
mailing list