mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-23 11:46:46 +10:00
[강운덕] [LUCYSUS-1744] jdbc interceptor동작시 connection url을 파싱하여 동작하도록 수정.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@869 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -40,7 +40,7 @@ public class MySQLStatementModifier extends AbstractModifier {
|
||||
Interceptor executeUpdate = newInterceptor(classLoader, protectedDomain, "com.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
|
||||
statementClass.addInterceptor("executeUpdate", new String[]{"java.lang.String", "boolean", "boolean"}, executeUpdate);
|
||||
|
||||
statementClass.addTraceVariable("__url", "__setUrl", "__getUrl", "java.lang.String");
|
||||
statementClass.addTraceVariable("__url", "__setUrl", "__getUrl", "java.lang.Object");
|
||||
return statementClass.toBytecode();
|
||||
} catch (InstrumentException e) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user