Modified: freeswitch/trunk/src/switch_odbc.c (16553 => 16554)
--- freeswitch/trunk/src/switch_odbc.c 2010-02-02 16:20:12 UTC (rev 16553)
+++ freeswitch/trunk/src/switch_odbc.c 2010-02-02 16:37:55 UTC (rev 16554)
@@ -427,7 +427,7 @@
}
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) {