<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=922161106-15012009><FONT face=Arial size=2>Hey
there,</FONT></SPAN></DIV>
<DIV><SPAN class=922161106-15012009> <FONT face=Arial
size=2>I'm using the ODBC abilities of FreeSWITCH for my billing module and I am
having an issue.</FONT></SPAN></DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial size=2>When
calling:</FONT></SPAN></DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial
size=2>
if (!(switch_odbc_handle_callback_exec(globals.master_odbc,
SQL_UPDATE_STATEMENT, nibblebill_callback, &pdata) ==
SWITCH_ODBC_SUCCESS)){<BR></FONT></SPAN></DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial size=2>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?</FONT></SPAN></DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial size=2>-
Darren</FONT></SPAN></DIV>
<DIV><SPAN class=922161106-15012009><FONT face=Arial
size=2> </DIV></FONT></SPAN></BODY></HTML>