Browse Source

REPORT-83447 改下注释

release/11.0
xiqiu 2 years ago
parent
commit
d7d38ef08e
  1. 2
      fine-druid/src/main/java/com/fr/third/alibaba/druid/util/MySqlUtils.java

2
fine-druid/src/main/java/com/fr/third/alibaba/druid/util/MySqlUtils.java

@ -404,7 +404,7 @@ public class MySqlUtils {
} }
public static long getLastPacketReceivedTimeMs(Connection conn) throws SQLException { public static long getLastPacketReceivedTimeMs(Connection conn) throws SQLException {
// durid监控若开启,Connection 对象是 ConnectionProxy ,且ConnectionProxy和Connection不是一个同一个类加载器 // durid监控若开启,Connection 对象是 ConnectionProxy ,且ConnectionProxy和Connection不一定在同一个类加载器下
ClassLoader cl; ClassLoader cl;
if (conn instanceof ConnectionProxy) { if (conn instanceof ConnectionProxy) {
cl = ((ConnectionProxy) conn).getRawObject().getClass().getClassLoader(); cl = ((ConnectionProxy) conn).getRawObject().getClass().getClassLoader();

Loading…
Cancel
Save