Merge pull request #2466 from IluckySi/ilucky-postgresql

Modify postgresql-8.x-plugin CreateStatementInterceptor.java statemen…
This commit is contained in:
IluckySi 2019-04-09 23:42:15 +08:00 committed by GitHub
commit 7e4ae2db44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public class CreateStatementInterceptor implements InstanceMethodsAroundIntercep
Object ret) throws Throwable {
if (ret instanceof EnhancedInstance) {
((EnhancedInstance)ret).setSkyWalkingDynamicField(new StatementEnhanceInfos((ConnectionInfo)objInst.getSkyWalkingDynamicField(), "", "CallableStatement"));
((EnhancedInstance)ret).setSkyWalkingDynamicField(new StatementEnhanceInfos((ConnectionInfo)objInst.getSkyWalkingDynamicField(), "", "Statement"));
}
return ret;