Using ODBC core from FreeSWITCH module
Hey there, I'm using the ODBC abilities of FreeSWITCH for my billing module and I am having an issue. When calling: if (!(switch_odbc_handle_callback_exec(globals.master_odbc, SQL_UPDATE_STATEMENT, nibblebill_callback, &pdata) == SWITCH_ODBC_SUCCESS)){ sometimes the call is actually failing but I am always getting an ODBC success. I am thinking "failing" is really 0 rows updated. How should I be checking for this occurrence? - Darren
try trunk i think i found your issue and fixed it. On Thu, Jan 15, 2009 at 12:12 AM, Darren Schreiber <d@d-man.org> wrote:
Hey there, I'm using the ODBC abilities of FreeSWITCH for my billing module and I am having an issue.
When calling:
if (!(switch_odbc_handle_callback_exec(globals.master_odbc, SQL_UPDATE_STATEMENT, nibblebill_callback, &pdata) == SWITCH_ODBC_SUCCESS)){ sometimes the call is actually failing but I am always getting an ODBC success. I am thinking "failing" is really 0 rows updated. How should I be checking for this occurrence?
- Darren
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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
participants (2)
-
Anthony Minessale
-
Darren Schreiber