]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-538
authorBrian West <brian@freeswitch.org>
Tue, 2 Feb 2010 05:43:31 +0000 (05:43 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 2 Feb 2010 05:43:31 +0000 (05:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16548 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_odbc.c

index b880ab7888d49ae0e30653cd0d8bdace96aaf6c1..2cdd071b79f6f8c5c864ac8cbde66a4d86e1a8be 100644 (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)) {
+               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) {