提交 6a89b33d authored 作者: Anthony Minessale's avatar Anthony Minessale

hide printing of warning for duplicate type errs, the caller still gets it and may print it too

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15858 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 b805ac1c
......@@ -388,7 +388,7 @@ static switch_status_t switch_cache_db_execute_sql_real(switch_cache_db_handle_t
}
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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论