Modified: freeswitch/trunk/src/switch_odbc.c (16547 => 16548)
--- freeswitch/trunk/src/switch_odbc.c 2010-02-02 04:59:35 UTC (rev 16547)
+++ freeswitch/trunk/src/switch_odbc.c 2010-02-02 05:43:31 UTC (rev 16548)
@@ -427,7 +427,7 @@
}
if (err_str) {
- if (!switch_stristr("already exists", 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) {