mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for MySqlUtils.
This commit is contained in:
@@ -296,7 +296,7 @@ public class MySqlUtils {
|
||||
if (connImpl == null) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Object mysqlio = method_getIO.invoke(connImpl);
|
||||
Long ms = (Long) method_getLastPacketReceivedTimeMs.invoke(mysqlio);
|
||||
return ms.longValue();
|
||||
|
||||
Reference in New Issue
Block a user