Skip to content

Commit

Permalink
fix(session): get wrong server port #4171
Browse files Browse the repository at this point in the history
  • Loading branch information
ungreat authored Jan 16, 2025
1 parent 8971b2a commit 10a1f86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class OBMySQLNoLessThan400StatsAccessor extends OBMySQLStatsAccessor {
+ " STATE, "
+ " `USER_CLIENT_IP` as HOST, "
+ " HOST as PROXY_HOST, "
+ " CONCAT(SVR_IP, ':', SVR_PORT) AS SVR_IP, "
+ " CONCAT(SVR_IP, ':', SQL_PORT) AS SVR_IP, "
+ " TIME as EXECUTE_TIME, "
+ " CASE "
+ " WHEN `TRANS_STATE` IS NULL OR `TRANS_STATE` IN ('', 'IDLE', 'IN_TERMINATE', 'ABORTED', "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class OBOracleNoLessThan400StatsAccessor extends BaseOBOracleStatsAccesso
+ " STATE, "
+ " USER_CLIENT_IP as HOST, "
+ " HOST as PROXY_HOST, "
+ " SVR_IP || ':' || TO_CHAR(SVR_PORT) AS SVR_IP, "
+ " SVR_IP || ':' || TO_CHAR(SQL_PORT) AS SVR_IP, "
+ " TIME as EXECUTE_TIME, "
+ " CASE "
+ " WHEN TRANS_STATE IS NULL OR TRANS_STATE IN ('', 'IDLE', 'IN_TERMINATE', 'ABORTED', "
Expand Down

0 comments on commit 10a1f86

Please sign in to comment.