[Freeswitch-svn] [commit] r10455 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Nov 19 07:24:31 PST 2008


Author: anthm
Date: Wed Nov 19 10:24:30 2008
New Revision: 10455

Log:
add no_data as success (thx rupa)

Modified:
   freeswitch/trunk/src/switch_odbc.c

Modified: freeswitch/trunk/src/switch_odbc.c
==============================================================================
--- freeswitch/trunk/src/switch_odbc.c	(original)
+++ freeswitch/trunk/src/switch_odbc.c	Wed Nov 19 10:24:30 2008
@@ -301,7 +301,7 @@
 
 	result = SQLExecute(stmt);
 
-	if (result != SQL_SUCCESS && result != SQL_SUCCESS_WITH_INFO) {
+	if (result != SQL_SUCCESS && result != SQL_SUCCESS_WITH_INFO && result != SQL_NO_DATA) {
 		goto error;
 	}
 



More information about the Freeswitch-svn mailing list