Modified: freeswitch/trunk/src/switch_core_sqldb.c (15857 => 15858)
--- freeswitch/trunk/src/switch_core_sqldb.c 2009-12-09 15:52:35 UTC (rev 15857)
+++ freeswitch/trunk/src/switch_core_sqldb.c 2009-12-09 16:06:30 UTC (rev 15858)
@@ -388,7 +388,7 @@
}
if (errmsg) {
- if (!switch_stristr("already exists", errmsg)) {
+ if (!switch_stristr("already exists", errmsg) && !switch_stristr("duplicate key name", errmsg)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SQL ERR [%s]\n%s\n", errmsg, sql);
}
if (err) {