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:
Anthony Minessale 2008-11-19 15:24:30 +00:00
parent 1a179a676e
commit bf350989ed
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}