From bf350989edad551fc2bf39b1529531145a83ee8f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 19 Nov 2008 15:24:30 +0000 Subject: [PATCH] add no_data as success (thx rupa) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10455 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_odbc.c b/src/switch_odbc.c index eaa6e9830c..19cff2d7d0 100644 --- a/src/switch_odbc.c +++ b/src/switch_odbc.c @@ -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; }