Skip to content

Commit 5963079

Browse files
authored
Merge pull request apache#607 from ascrutae/feature/support-mysql-5.x-plugin
support mysql-5.0.5 driver
2 parents 8fe052d + ee44d7a commit 5963079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apm-sniffer/apm-sdk-plugin/mysql-5.x-plugin/src/main/java/org/skywalking/apm/plugin/jdbc/mysql/define/ConnectionInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ public class ConnectionInstrumentation extends ClassInstanceMethodsEnhancePlugin
115115
}
116116

117117
@Override protected ClassMatch enhanceClass() {
118-
return byMultiClassMatch(ENHANCE_CLASS, "com.mysql.cj.jdbc.ConnectionImpl");
118+
return byMultiClassMatch(ENHANCE_CLASS, "com.mysql.cj.jdbc.ConnectionImpl", "com.mysql.jdbc.Connection");
119119
}
120120
}

0 commit comments

Comments
 (0)