Skip to content

Commit

Permalink
Merge branch cc1e58b into master
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixin.lm committed May 31, 2024
2 parents 3018416 + cc1e58b commit 74fe96d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/obproxy/proxy/mysqllib/ob_mysql_request_analyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ void ObMysqlRequestAnalyzer::analyze_request(const ObRequestAnalyzeCtx &ctx,

if (OB_SUCC(ret) && (ANALYZE_DONE == status || ANALYZE_CONT == status)) {
// 3. set mysql request packet meta
sql_cmd = result.meta_.cmd_;
if (OB_LIKELY(OB_MYSQL_COM_LOAD_DATA_TRANSFER_CONTENT != sql_cmd)) {
sql_cmd = result.meta_.cmd_;
}
if (OB_UNLIKELY(OB_MYSQL_COM_LOGIN == result.meta_.cmd_ || OB_MYSQL_COM_HANDSHAKE == result.meta_.cmd_)) {
// add pkt meta to mysql auth request
auth_request.set_packet_meta(result.meta_);
Expand Down

0 comments on commit 74fe96d

Please sign in to comment.