add no_data as success (thx rupa)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10455 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1a179a676e
commit
bf350989ed
|
@ -301,7 +301,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_exec(switch_odbc_handle_
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue