Skip to content

Commit

Permalink
只去除重复获取server_trace_id的操作
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoleizi2016 committed Nov 24, 2023
1 parent 3d975a5 commit 42affc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obproxy/proxy/mysql/ob_mysql_sm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9530,7 +9530,7 @@ inline void ObMysqlSM::update_monitor_log()
is_slow_query = true;
_OBPROXY_SLOW_LOG(WARN, MONITOR_LOG_FORMAT, MONITOR_LOG_PARAM);
}
if (is_error_resp && !(OB_MYSQL_COM_LOGIN == request_cmd && OB_CONNECT_ERROR == trans_state_.mysql_errcode_)) {
if (is_error_resp) {
_OBPROXY_ERROR_LOG(WARN, MONITOR_ERROR_LOG_FORMAT, MONITOR_ERROR_LOG_PARAM);
}
}
Expand Down

0 comments on commit 42affc6

Please sign in to comment.