git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16554 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2010-02-02 16:37:55 +00:00
parent 89e90ef463
commit 5391355af7
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_exec(switch_odbc_handle_
}
if (err_str) {
if (!switch_stristr("already exists", err_str) || !switch_stristr("duplicate key name", err_str)) {
if (!switch_stristr("already exists", err_str) && !switch_stristr("duplicate key name", err_str)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERR: [%s]\n[%s]\n", sql, switch_str_nil(err_str));
}
if (err) {