Merge pull request #2382 from bigbigwei/master

fix #2374
This commit is contained in:
温绍锦
2018-03-07 10:05:01 +08:00
committed by GitHub
@@ -348,7 +348,7 @@ public class MySqlUtils {
public static long getLastPacketReceivedTimeMs(Connection conn) throws SQLException {
if (class_connectionImpl == null && !class_connectionImpl_Error) {
try {
class_connectionImpl = Utils.loadClass("com.mysql.jdbc.ConnectionImpl");
class_connectionImpl = Utils.loadClass("com.mysql.jdbc.MySQLConnection");
} catch (Throwable error){
class_connectionImpl_Error = true;
}