[Freeswitch-dev] Using ODBC core from FreeSWITCH module

Darren Schreiber d at d-man.org
Wed Jan 14 22:12:50 PST 2009


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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090114/96aba8ae/attachment-0001.html 


More information about the Freeswitch-dev mailing list